]> git.ipfire.org Git - thirdparty/git.git/commitdiff
Merge branch 'tb/repack-cleanup'
authorJunio C Hamano <gitster@pobox.com>
Tue, 18 Jul 2023 14:28:53 +0000 (07:28 -0700)
committerJunio C Hamano <gitster@pobox.com>
Tue, 18 Jul 2023 14:28:53 +0000 (07:28 -0700)
The recent change to "git repack" made it react less nicely when a
leftover .idx file that no longer has the corresponding .pack file
in the repository, which has been corrected.

* tb/repack-cleanup:
  builtin/repack.c: avoid dir traversal in `collect_pack_filenames()`
  builtin/repack.c: only repack `.pack`s that exist

1  2 
builtin/repack.c

Simple merge