diff options
author | Son Luong Ngoc <sluongng@gmail.com> | 2020-05-10 16:07:33 +0000 |
---|---|---|
committer | Junio C Hamano <gitster@pobox.com> | 2020-05-10 09:50:53 -0700 |
commit | e11d86de13988e986550043b307b1f9a52324458 (patch) | |
tree | e6e56f7521e0192cbb7d3fb269ff9fcd7e25295b /t | |
parent | The eighth batch (diff) | |
download | tgif-e11d86de13988e986550043b307b1f9a52324458.tar.xz |
midx: teach "git multi-pack-index repack" honor "git repack" configurations
When the "repack" subcommand of "git multi-pack-index" command
creates new packfile(s), it does not call the "git repack"
command but instead directly calls the "git pack-objects"
command, and the configuration variables meant for the "git
repack" command, like "repack.usedaeltabaseoffset", are ignored.
Check the configuration variables used by "git repack" ourselves
in "git multi-index-pack" and pass the corresponding options to
underlying "git pack-objects".
Note that `repack.writeBitmaps` configuration is ignored, as the
pack bitmap facility is useful only with a single packfile.
Signed-off-by: Son Luong Ngoc <sluongng@gmail.com>
Signed-off-by: Junio C Hamano <gitster@pobox.com>
Diffstat (limited to 't')
0 files changed, 0 insertions, 0 deletions