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

Re: [PATCH 09/13] drop objects larger than --blob-limit if specified

From
Nicolas Pitre <nico@cam.org>
Date
Apr 6, 2007, 19:21 UTC
Message-ID
<alpine.LFD.0.98.0704061511390.28181@xanadu.home>
In-Reply-To
<56b7f5510704061109n2878a221p391b7c3edba89c63@mail.gmail.com>
On Fri, 6 Apr 2007, Dana How wrote:
> * To avoid offsets larger than 31 bits in .idx files.  Your proposal,
>  and what I was doing for --pack-limit && --stdout, is sufficient to
> address this.

BTW I have code for an index version 2 that allows for 64-bit offsets. It also adds a CRC32 for each object data as stored in the pack to make data reuse safer when repacking. I only have to fix a couple loose ends before sending patches out.

The new index only uses 64-bit offsets when it has to. Meaning that objects in front of a pack which usually are the most recent ones won't pay the overhead of a larger offset table at run time.

Nicolas
Previous: Dana HowNext: Linus Torvalds
Message 7 of 11 in “drop objects larger than --blob-limit if specified”
  1. 09/13 drop objects larger than --blob-limit if specifiedDana How, Apr 5, 2007
  2. Nicolas PitreApr 6, 2007
  3. Dana HowApr 6, 2007
  4. Nicolas PitreApr 6, 2007
  5. Linus TorvaldsApr 6, 2007
  6. Dana HowApr 6, 2007
  7. Nicolas PitreApr 6, 2007
  8. Linus TorvaldsApr 6, 2007
  9. Junio C HamanoApr 6, 2007
  10. David LangApr 8, 2007
  11. Nicolas PitreApr 6, 2007

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.