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

Re: [PATCH 2/2] git-repack: -b to pass --delta-base-offset

From
Nicolas Pitre <nico@cam.org>
Date
Oct 13, 2006, 21:58 UTC
Message-ID
<Pine.LNX.4.64.0610131757050.2435@xanadu.home>
In-Reply-To
<7v64endi6x.fsf@assigned-by-dhcp.cox.net>
On Fri, 13 Oct 2006, Junio C Hamano wrote:
Show 28 quoted lines
> Nicolas Pitre <nico@cam.org> writes:
> 
> > On Thu, 12 Oct 2006, Junio C Hamano wrote:
> >
> >> This new option makes the resulting pack express the delta base
> >> with more compact "offset" format.
> >
> > Actually I thought about making it the default whenever git-pack-objects 
> > supported it, and use a negative option with git-repack to disable it 
> > instead.
> >
> > The fact is that there is little reason for not using delta base offsets 
> > in most cases and specifying -b all the time would become more of an 
> > annoyance.
> >
> > What do you think?
> 
> The only time it matters is if the packs in repository being
> repacked needs to be readable by older git, which I think is
> only when somebody with older git uses commit walkers to
> download the pack into a remote repository to use.  Using or not
> using delta-base-offset is tied to each repository, and in a
> sense that is similar to "repository format version".
> 
> So how about
> 
> 	[core]
>         	repackUseDeltaBase = true

I agree, although "repackUseDeltaBase" is a bit vague as both delta types do use a delta base.

Nicolas
Previous: Jakub NarebskiNext: Junio C Hamano
Message 7 of 8 in “pack-objects: document --delta-base-offset option”
  1. 1/2 pack-objects: document --delta-base-offset optionJunio C Hamano, Oct 13, 2006
  2. 2/2 git-repack: -b to pass --delta-base-offsetJunio C Hamano, Oct 13, 2006
  3. Nicolas PitreOct 13, 2006
  4. Jakub NarebskiOct 13, 2006
  5. Junio C HamanoOct 13, 2006
  6. Jakub NarebskiOct 13, 2006
  7. Nicolas PitreOct 13, 2006
  8. Junio C HamanoOct 13, 2006

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.