Web lists-archives.com

Re: [PATCH 0/4] index-pack: optionally turn off SHA-1 collision checking




Geert Jansen <gerardu@xxxxxxxxxx> 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.