From: Junio C Hamano Date: Mon, 17 Dec 2007 01:24:27 GMT Subject: Re: end of file newline regression Message-ID: <7vsl22glkk.fsf@gitster.siamese.dyndns.org> In-Reply-To: <20071216.155413.165709543.davem@davemloft.net> David Miller writes: > I've stumbled into a problem with current mainline. > > I have this changeset that I can't get GIT to properly > generate diffs for. It always give me: > > diff --git a/net/ipv6/esp6.c b/net/ipv6/esp6.c > index 4440532..096974b 100644 > --- a/net/ipv6/esp6.c > +++ b/net/ipv6/esp6.c > @@ -177,5 +177,4 @@ static int esp6_input(struct xfrm_state *x, struct sk_buff *skb) > BUG(); > > if (unlikely(memcmp(esp->auth.work_icv, sum, alen))) { > - x->stats.integrity_failed++; > - ret = -EINVAL; > \ No newline at end of file > + ret = -EBADMSG; > \ No newline at end of file > > No matter what I do, 1.5.3.7 doesn't do this. Sorry, there was a recent brown-paper-bag. Should have been fixed with the patches flew on the list for the past 24 hours or so. Could you try it with the tip of 'master'?