From: Nicolas Pitre Date: Fri, 13 Oct 2006 21:58:43 GMT Subject: Re: [PATCH 2/2] git-repack: -b to pass --delta-base-offset Message-ID: In-Reply-To: <7v64endi6x.fsf@assigned-by-dhcp.cox.net> On Fri, 13 Oct 2006, Junio C Hamano wrote: > Nicolas Pitre 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