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

Re: [PATCH 6/8] builtin-fetch: add --prune option

From
Junio C Hamano <gitster@pobox.com>
Date
Nov 10, 2009, 08:55 UTC
Message-ID
<7vfx8mg3mw.fsf@alter.siamese.dyndns.org>
In-Reply-To
<4AF92133.6070005@gmail.com>
Björn Gustavsson <bgustavsson@gmail.com> writes:
> From: Jay Soffian <jaysoffian@gmail.com>

Thanks for being careful; it would be even better if you preserve the author date by copying Date: from the original.

> Teach fetch to cull stale remote tracking branches after fetching via --prune.
>
> Signed-off-by: Jay Soffian <jaysoffian@gmail.com>
> Signed-off-by: Björn Gustavsson <bgustavsson@gmail.com>
Yuck...

builtin-fetch.c: In function 'prune_refs': builtin-fetch.c:500: error: implicit declaration of function 'get_stale_heads' builtin-fetch.c:500: error: initialization makes pointer from integer without a cast builtin-fetch.c:501: error: 'dry_run' undeclared (first use in this function) builtin-fetch.c:501: error: (Each undeclared identifier is reported only once builtin-fetch.c:501: error: for each function it appears in.) make: *** [builtin-fetch.o] Error 1

Previous: Björn GustavssonNext: Junio C Hamano
Message 2 of 5 in “builtin-fetch: add --prune option”
  1. 6/8 builtin-fetch: add --prune optionBjörn Gustavsson, Nov 10, 2009
  2. Junio C HamanoNov 10, 2009
  3. Junio C HamanoNov 10, 2009
  4. Björn GustavssonNov 10, 2009
  5. Björn GustavssonNov 10, 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.