Files
git/Documentation
Christian Couder 6cfcabfb9f pack-objects: allow --filter without --stdout
9535ce7337 (pack-objects: add list-objects filtering, 2017-11-21)
taught `git pack-objects` to use `--filter`, but required the use of
`--stdout` since a partial clone mechanism was not yet in place to
handle missing objects. Since then, changes like 9e27beaa23
(promisor-remote: implement promisor_remote_get_direct(), 2019-06-25)
and others added support to dynamically fetch objects that were missing.

Even without a promisor remote, filtering out objects can also be useful
if we can put the filtered out objects in a separate pack, and in this
case it also makes sense for pack-objects to write the packfile directly
to an actual file rather than on stdout.

Remove the `--stdout` requirement when using `--filter`, so that in a
follow-up commit, repack can pass `--filter` to pack-objects to omit
certain objects from the resulting packfile.

Signed-off-by: John Cai <johncai86@gmail.com>
Signed-off-by: Christian Couder <chriscool@tuxfamily.org>
Signed-off-by: Junio C Hamano <gitster@pobox.com>
2023-10-02 14:54:29 -07:00
..
2023-09-22 17:01:37 -07:00
2023-06-12 13:52:51 -07:00
2023-02-18 09:29:13 -08:00
2023-09-22 17:01:37 -07:00
2023-06-12 13:52:51 -07:00
2023-06-12 13:52:51 -07:00
2023-06-12 13:52:51 -07:00
2023-05-06 14:32:20 -07:00
2023-09-02 15:21:44 -07:00
2023-06-12 13:52:51 -07:00
2023-06-12 13:52:51 -07:00
2023-05-16 11:38:14 -07:00
2023-06-27 11:31:06 -07:00
2023-07-31 09:11:04 -07:00
2023-06-12 13:52:51 -07:00
2023-08-28 09:16:06 -07:00
2023-06-12 13:52:51 -07:00