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

Re: [RFC/PATCH] git-prune: never lose objects reachable from our refs.

From
PEPeter Eriksen <s022018@student.dtu.dk>
Date
Dec 9, 2005, 19:39 UTC
Message-ID
<20051209193922.GA31228@ebar091.ebar.dtu.dk>
In-Reply-To
<7vmzja91gp.fsf_-_@assigned-by-dhcp.cox.net>
On Thu, Dec 08, 2005 at 11:25:10PM -0800, Junio C Hamano wrote:
Show 8 quoted lines
> Explicit <head> arguments to git-prune replaces, instead of
> extends, the list of heads used for reachability analysis by
> fsck-objects.  By giving a subset of heads by mistake, objects
> reachable only from other heads can be removed, resulting in a
> corrupted repository.
> 
> This commit stops replacing the list of heads, and makes the
> command line arguments to add to them instead for safety.

Shouldn't the first sentence be "Explicit <head> arguments to git-prune extends, instead of replaces,...", that is, interchange the words extends and replaces? Did I miss something?

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