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

Re: [PATCH] bash completion: remove deprecated --prune from git-gc

From
Brandon Casey <casey@nrlssc.navy.mil>
Date
Dec 15, 2008, 18:06 UTC
Message-ID
<FVglwe6MZJA2-0F8smd8RgHUYqc_tvsZE8KdwKzxQK3gqGN8-pvvhQ@cipher.nrlssc.navy.mil>
In-Reply-To
<20081214111939.GC6499@coredump.intra.peff.net>
Jeff King wrote:
Show 18 quoted lines
> On Sun, Dec 14, 2008 at 12:17:07PM +0100, Johannes Schindelin wrote:
> 
>>> Which annoyingly has no discussion about _why_ it no longer has an
>>> effect. But I suspect it has something to do with 25ee973 (gc: call
>>> "prune --expire 2.weeks.ago" by default, 2008-03-12) by you.
>> Oops.
>>
>> But I thought that git gc --prune does expire _all_ dangling loose 
>> objects _now_, not with --expire 2.weeks.ago.
> 
> Nope, see 25ee973. You explicitly wrote:
> 
>       Note that this new behaviour makes "--prune" be a no-op.
> 
> That being said, I think that is perhaps a reasonable thing for --prune
> to do (and I don't think there is any conflict with the name, because
> that is what it _used_ to do before becoming a no-op). But nobody has
> actually implemented it.
Maybe --mrproper would be a more appropriate name.
-brandon
Previous: Jeff KingNext: Brandon Casey
Message 6 of 8 in “bash completion: remove deprecated --prune from git-gc”
  1. bash completion: remove deprecated --prune from git-gcMarkus Heidelberg, Dec 13, 2008
  2. Johannes SchindelinDec 14, 2008
  3. Jeff KingDec 14, 2008
  4. Johannes SchindelinDec 14, 2008
  5. Jeff KingDec 14, 2008
  6. Brandon CaseyDec 15, 2008
  7. Brandon CaseyDec 15, 2008
  8. Jakub NarebskiDec 14, 2008

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.