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

Re: [PATCH] Improve git-prune -n output

From
Junio C Hamano <junkio@cox.net>
Date
Oct 28, 2006, 20:37 UTC
Message-ID
<7vejss6usb.fsf@assigned-by-dhcp.cox.net>
In-Reply-To
<ehvnob$tmj$1@sea.gmane.org>
Jakub Narebski <jnareb@gmail.com> writes:
Show 9 quoted lines
> Andy Parkins wrote:
>
>> prune_object() in show_only mode would previously just show the path to the
>> object that would be deleted.  The path the object is stored in shouldn't be
>> shown to users, they only know about sha1 identifiers so show that instead.
>
> This allowed to 'rm -f' [some] of what git-prune -n shows.
>
> Did anybody used that? I don't know...

Yes and probably no because the output did not have enough clues to help picking which ones to remove. If the command said something like this:

	.git/objetcts/11/feed0... ;# commit 2006-08-28: WIP for	"foo"
it might have been a good clue and would have made sense, though.
Previous: Jakub NarebskiNext: Andy Whitcroft
Message 6 of 10 in “Improve git-prune -n output”
  1. Improve git-prune -n outputAndy Parkins, Oct 26, 2006
  2. Junio C HamanoOct 26, 2006
  3. Andy ParkinsOct 26, 2006
  4. Improve git-prune -n outputAndy Parkins, Oct 27, 2006
  5. Jakub NarebskiOct 28, 2006
  6. Junio C HamanoOct 28, 2006
  7. Andy WhitcroftOct 26, 2006
  8. Petr BaudisOct 27, 2006
  9. Andy ParkinsOct 27, 2006
  10. Junio C HamanoOct 27, 2006

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.