git/list[1] front-page[2] threads[3] people[4] search[5] about
 

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.
Previous: Duy Nguyen
Message 4 of 4 in “clone: suggest index version 4 when the index is bigger than 512 KiB”
  1. clone: suggest index version 4 when the index is bigger than 512 KiBNguyễn Thái Ngọc Duy, Feb 14, 2013
  2. Thomas AckermannFeb 19, 2013
  3. Duy NguyenFeb 19, 2013
  4. Junio C HamanoFeb 19, 2013

Read the whole thread, see it on lore, or plain text.

$ cat FOOTERMessages come from the public archive at lore.kernel.org/git, fetched every hour. The front page is chosen and written each morning by an AI editor and can be wrong; the threads themselves are the record. About and API. For agents: an MCP server at https://gitlist.dev/mcp, and any thread, story or person page as Markdown by adding .md to its URL (or sending Accept: text/markdown). Details in /llms.txt.