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

Re: [PATCH] git-pack-objects.txt: fix grammatical errors

From
Nicolas Pitre <nico@fluxnic.net>
Date
Apr 2, 2011, 21:16 UTC
Message-ID
<alpine.LFD.2.00.1104021713480.28032@xanadu.home>
In-Reply-To
<7vy63sh6p7.fsf@alter.siamese.dyndns.org>
On Sat, 2 Apr 2011, Junio C Hamano wrote:
Show 23 quoted lines
> Nicolas Pitre <nico@fluxnic.net> writes:
> 
> >> diff --git a/Documentation/git-pack-objects.txt b/Documentation/git-pack-objects.txt
> >> index a51071e..442018b 100644
> >> --- a/Documentation/git-pack-objects.txt
> >> +++ b/Documentation/git-pack-objects.txt
> >> @@ -190,9 +190,9 @@ self-contained. Use `git index-pack --fix-thin`
> >>  (see linkgit:git-index-pack[1]) to restore the self-contained property.
> >>  
> >>  --delta-base-offset::
> >> +	A packed archive can express the base object of a delta as
> >> +	either a 20-byte object name or as an offset in the
> >> +	stream, but older versions of git don't understand the
> >>  	latter.  By default, 'git pack-objects' only uses the
> >>  	former format for better compatibility.  This option
> >>  	allows the command to use the latter format for
> >
> > This is misleading and not even true anymore if not using pack-objects.  
> > Most people are using either 'git repack' or even 'git gc', and the 
> > default is to use this parameter since commit 22c79eab.
> 
> This page is on the pack-objects plumbing, and in that context there is
> nothing misleading nor false about it.
True.  But...
> We may however want to do something like the attached to help people who
> might wonder how to pass this option through the Porcelain they use.
That's the kind of precision I was meaning.
> the longer term, it probably makes sense to make the option default at a
> version bump, perhaps at the 1.8.0 boundary.
Agreed.
Nicolas
Previous: Junio C Hamano
Message 4 of 4 in “git-pack-objects.txt: fix grammatical errors”
  1. git-pack-objects.txt: fix grammatical errorsStephen Boyd, Mar 30, 2011
  2. Nicolas PitreApr 2, 2011
  3. Junio C HamanoApr 2, 2011
  4. Nicolas PitreApr 2, 2011

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.