Re: [PATCH 2/2] git-repack: -b to pass --delta-base-offset
- From
Junio C Hamano <junkio@cox.net>
- Date
- Oct 13, 2006, 21:22 UTC
- Message-ID
- <7v64endi6x.fsf@assigned-by-dhcp.cox.net>
- In-Reply-To
- <Pine.LNX.4.64.0610130912500.2435@xanadu.home>
Nicolas Pitre <nico@cam.org> writes:
Show 14 quoted lines
> 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