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
Thomas Ackermann <th.acker@arcor.de>
Date
Feb 19, 2013, 10:45 UTC
Message-ID
<loom.20130219T113730-546@post.gmane.org>
In-Reply-To
<1360848843-12092-1-git-send-email-pclouds@gmail.com>
Nguyễn Thái Ngọc Duy <pclouds <at> gmail.com> writes:
Show 9 quoted lines
> 
> I just realized that many of my big repos are still on index v2 while
> v4 should reduce its size significantly (3.8M -> 2.9M for linux-2.6
> and 25M -> 14M for webkit, for example). I wanted to propose index v4
> as the new default version, because I guess that not many people
> outside git <at> vger are aware of it, but perhaps this approach is less
> drastic. It only suggest index v4 when the index size after clone hits
> 512K limit.
> 

Is V4 really recommended for general use? Default seems to be V3 and all I found in the docs is the coresponding release not describing V4 as "experimental". (I have repos with index files > 40MiB (!) which will shrink to approx. 20MiB with V4 so using V4 would be an interessting option for me.)

--- Thomas

Previous: Nguyễn Thái Ngọc DuyNext: Duy Nguyen
Message 2 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.