Re: [PATCH/RFC] clone: suggest index version 4 when the index is bigger than 512 KiB
- From
Junio C Hamano <gitster@pobox.com>
- Date
- Feb 19, 2013, 18:59 UTC
- Message-ID
- <7vobfg5duk.fsf@alter.siamese.dyndns.org>
- In-Reply-To
- <loom.20130219T113730-546@post.gmane.org>
Thomas Ackermann <th.acker@arcor.de> writes:
> Is V4 really recommended for general use?
If you stick to C-git, I do not think there is any reason to avoid it. It is already a mature technology, the difference between 2 and 4 are so trivial that it is very unlikely for a latent bug to be hiding in corner cases.
It is a different matter if various reimplementations already support the format. You can try it out, and if you find that other tools based on reimplementations of Git you use do not understand the format, you can safely go back with
git update-index --index-version 2
after you upgraded to version 4.