From: Junio C Hamano Date: Tue, 10 Nov 2009 09:03:07 GMT Subject: Re: [PATCH 6/8] builtin-fetch: add --prune option Message-ID: <7vbpjag3as.fsf@alter.siamese.dyndns.org> In-Reply-To: <7vfx8mg3mw.fsf@alter.siamese.dyndns.org> Junio C Hamano writes: > Björn Gustavsson writes: > >> From: Jay Soffian > > 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 >> Signed-off-by: Björn Gustavsson > > 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 Ah, I know. You forgot the first one from Jay's series.