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

Re: Automatically remote prune

From
Sitaram Chamarty <sitaramc@gmail.com>
Date
Nov 5, 2009, 03:15 UTC
Message-ID
<2e24e5b90911041915o40922167ob48a8503ee262b37@mail.gmail.com>
In-Reply-To
<7viqdpemki.fsf@alter.siamese.dyndns.org>
On Thu, Nov 5, 2009 at 7:53 AM, Junio C Hamano <gitster@pobox.com> wrote:
>  (1) The user wants to keep the remotes/<origin>/* namespace clean (iow,
[snip]
>  (2) The user does want to be careful not to lose commits that now only

This whole discussion is a conflict between those two. The current system does the latter, safer, thing. John's users are getting confused because they *think* this means the remote still has those refs.

At best an alias that does a prune before (or after) a fetch should do.

And I notice 'git gui' has an option to "prune during fetch" -- maybe that should be an option that is also made available to the CLI fetch.

Previous: Junio C HamanoNext: John Tapsell
Message 6 of 15 in “Automatically remote prune”
  1. John TapsellNov 4, 2009
  2. Junio C HamanoNov 4, 2009
  3. John TapsellNov 5, 2009
  4. Shawn O. PearceNov 5, 2009
  5. Junio C HamanoNov 5, 2009
  6. Sitaram ChamartyNov 5, 2009
  7. John TapsellNov 5, 2009
  8. Junio C HamanoNov 5, 2009
  9. Jay SoffianNov 5, 2009
  10. Petr BaudisNov 6, 2009
  11. Jay SoffianNov 6, 2009
  12. Petr BaudisNov 6, 2009
  13. Junio C HamanoNov 8, 2009
  14. Petr BaudisNov 6, 2009
  15. Dmitry PotapovNov 5, 2009

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.