From: Heiko Voigt Date: Sun, 05 Jan 2014 01:22:51 GMT Subject: Re: git fetch doesn't ignore funny refs Message-ID: <20140105012251.GA12969@book-mint> In-Reply-To: <52B04515.8020609@marvell.com> On Tue, Dec 17, 2013 at 01:35:33PM +0100, Lorenzo Keller wrote: > A check as this one: > > if (check_refname_format(ref->name, 0)) > continue; > > fixes the problem for me. > > I report here bug and fix in the hope it can be reviewed and integrated > in future git releases. Since it seems you already have a fix: How about sending a proper patch (possibly you want to extend this with a warning message) so people can discuss and integrate your fix here? See Documentation/SubmittingPatches for further information. Cheers Heiko