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

Re: [PATCH 6/17] Document the [<head>...] and -- arguments to git-prune.

From
NWNikolai Weibull <mailing-lists.git@rawuncut.elitemail.org>
Date
Dec 9, 2005, 00:50 UTC
Message-ID
<20051209005025.GA8932@puritan.petwork>
In-Reply-To
<7vzmnb9m7w.fsf@assigned-by-dhcp.cox.net>
Junio C Hamano wrote:
> Junio C Hamano <junkio@cox.net> writes:
> > Nikolai Weibull <mailing-lists.git@rawuncut.elitemail.org> writes:
Show 8 quoted lines
> > > The documentation for git-prune was lacking descriptions of the head
> > > arguments and the -- option.
> > >
> > > +<head>...::
> > > +        The heads to look for unreachable objects in.  This is
> > > +        relative to $GIT_DIR (e.g., "HEAD", "refs/heads/master").
> > > +        When unspecified, all heads are updated to match the
> > > +        remote repository.
> > ? updated to match???
> Come to think of it, why would anybody want to pass heads explicitly?
> It seems to me that it would allow you to _lose_ objects referenced
> only from omitted branches...
 
Sorry.  I have no idea why I pasted in that description.  How about:
<head>...::
        A head to use for an unreachability trace.
(This mimics the description of <object> in git-fsck-objects.)
        nikolai
-- 
Nikolai Weibull: now available free of charge at http://bitwi.se/!
Born in Chicago, IL USA; currently residing in Gothenburg, Sweden.
main(){printf(&linux["\021%six\012\0"],(linux)["have"]+"fun"-97);}
Previous: Junio C Hamano
Message 12 of 12 in “Documentation/git-commit.txt: Add long options and -- to documentation.”
  1. 4/17 Documentation/git-commit.txt: Add long options and -- to documentation.Nikolai Weibull, Dec 8, 2005
  2. 5/17 Documentation/git-verify-pack.txt: added documentation for --.Nikolai Weibull, Dec 8, 2005
  3. 6/17 Document the [<head>...] and -- arguments to git-prune.Nikolai Weibull, Dec 8, 2005
  4. 7/17 Documentation/git-cvsimport.txt: Fix a slight glitch in description heading.Nikolai Weibull, Dec 8, 2005
  5. 8/17 Documentation/git-cherry-pick: Add --replay and --no-commit.Nikolai Weibull, Dec 8, 2005
  6. Junio C HamanoDec 8, 2005
  7. Junio C HamanoDec 8, 2005
  8. Junio C HamanoDec 9, 2005
  9. git-prune: never lose objects reachable from our refs.Junio C Hamano, Dec 9, 2005
  10. Peter EriksenDec 9, 2005
  11. Junio C HamanoDec 9, 2005
  12. Nikolai WeibullDec 9, 2005

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.