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