@@ -10,13 +10,13 @@ SYNOPSIS
1010--------
1111[verse]
1212'git pack-objects' [-q | -- progress | -- all-progress] [-- all-progress-implied]
13- [-- no-reuse-delta] [-- delta-base-offset] [-- non-empty]
14- [-- local] [-- incremental] [-- window=<n >] [-- depth=<n >]
15- [-- revs [-- unpacked | -- all]] [-- keep-pack=<pack-name >]
16- [-- cruft] [-- cruft-expiration=<time >]
17- [-- stdout [-- filter=<filter-spec >] | <base-name >]
18- [-- shallow] [-- keep-true-parents] [-- [no-]sparse]
19- [-- name-hash-version=<n >] < <object-list >
13+ [-- no-reuse-delta] [-- delta-base-offset] [-- non-empty]
14+ [-- local] [-- incremental] [-- window=<n >] [-- depth=<n >]
15+ [-- revs [-- unpacked | -- all]] [-- keep-pack=<pack-name >]
16+ [-- cruft] [-- cruft-expiration=<time >]
17+ [-- stdout [-- filter=<filter-spec >] | <base-name >]
18+ [-- shallow] [-- keep-true-parents] [-- [no-]sparse]
19+ [-- name-hash-version=<n >] [ -- path-walk ] < <object-list >
2020
2121
2222DESCRIPTION
@@ -375,6 +375,17 @@ many different directories. At the moment, this version is not allowed
375375when writing reachability bitmap files with `--write-bitmap-index` and it
376376will be automatically changed to version `1`.
377377
378+ --path-walk::
379+ Perform compression by first organizing objects by path, then a
380+ second pass that compresses across paths as normal. This has the
381+ potential to improve delta compression especially in the presence
382+ of filenames that cause collisions in Git's default name-hash
383+ algorithm.
384+ +
385+ Incompatible with `--delta-islands`, `--shallow`, or `--filter`. The
386+ `--use-bitmap-index` option will be ignored in the presence of
387+ `--path-walk.`
388+
378389
379390DELTA ISLANDS
380391-------------
0 commit comments