Files
git/builtin
Derrick Stolee c178b02e29 pack-objects: allow --shallow and --path-walk
There does not appear to be anything particularly incompatible about the
--shallow and --path-walk options of 'git pack-objects'. If shallow
commits are to be handled differently, then it is by the revision walk
that defines the commit set and which are interesting or uninteresting.

However, before the previous change, a trivial removal of the warning
would cause a failure in t5500-fetch-pack.sh when
GIT_TEST_PACK_PATH_WALK is enabled. The shallow fetch would provide more
objects than we desired, due to some incorrect behavior of the path-walk
API, especially around walking uninteresting objects.

The recently-added tests in t5538-push-shallow.sh help to confirm this
behavior is working with the --path-walk option if
GIT_TEST_PACK_PATH_WALK is enabled. These tests passed previously due to
the --path-walk feature being disabled in the presence of a shallow
clone.

Signed-off-by: Derrick Stolee <stolee@gmail.com>
Signed-off-by: Junio C Hamano <gitster@pobox.com>
2025-05-16 12:15:41 -07:00
..
2025-02-18 15:30:31 -08:00
2025-01-21 08:44:54 -08:00
2024-12-13 07:33:36 -08:00
2025-01-28 13:02:22 -08:00
2024-12-18 10:44:31 -08:00
2024-12-18 10:44:30 -08:00
2025-02-10 10:18:31 -08:00
2024-12-18 10:44:31 -08:00
2024-12-18 10:44:30 -08:00
2025-02-04 09:51:41 -08:00
2025-03-03 14:51:29 -08:00
2025-05-16 12:15:39 -07:00
2024-12-18 10:44:30 -08:00
2025-01-28 13:02:22 -08:00