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
Junio C Hamano <junkio@cox.net>
Date
Dec 8, 2005, 23:56 UTC
Message-ID
<7vzmnb9m7w.fsf@assigned-by-dhcp.cox.net>
In-Reply-To
<7v4q5jb149.fsf@assigned-by-dhcp.cox.net>
Junio C Hamano <junkio@cox.net> writes:
Show 12 quoted lines
> Nikolai Weibull <mailing-lists.git@rawuncut.elitemail.org> writes:
>
>> 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...

Previous: Junio C HamanoNext: Junio C Hamano
Message 7 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.