Re: [PATCH 0/4] index-pack: optionally turn off SHA-1 collision checking
- From
Junio C Hamano <gitster@pobox.com>
- Date
- Oct 30, 2018, 09:04 UTC
- Message-ID
- <xmqqefc724by.fsf@gitster-ct.c.googlers.com>
- In-Reply-To
- <20181030024925.GC8325@amazon.com>
Geert Jansen <gerardu@amazon.com> writes:
> Maybe a better option would be to check for the non-existence of the [00-ff] > directories under .git/objects.
Please do not do this; I expect many people do this before they leave work, just like I do:
$ git repack -a -d -f --window=$largs --depth=$small $ git prune
which would typically leave only info/ and pack/ subdirectories under .git/objects/ directory.