Re: [PATCH] Fix buggy ref recording
- From
Petr Baudis <pasky@suse.cz>
- Date
- Sep 23, 2006, 01:16 UTC
- Message-ID
- <20060923011634.GL13132@pasky.or.cz>
- In-Reply-To
- <7vzmcrxvgw.fsf@assigned-by-dhcp.cox.net>
Dear diary, on Sat, Sep 23, 2006 at 02:44:31AM CEST, I got a letter where Junio C Hamano <junkio@cox.net> said that...
Show 14 quoted lines
> I've never seen you send out a corrupt patch over e-mail.
> What's different this time?
>
> > diff --git a/refs.c b/refs.c
> > index 40f16af..5fdf9c4 100644
> > --- a/refs.c
> > +++ b/refs.c
> > @@ -472,7 +472,7 @@ static struct ref_lock *lock_ref_sha1_ba
> >
> > lock->ref_name = xstrdup(ref);
> > lock->log_file = xstrdup(git_path("logs/%s", ref));
>
> The empty line at the beginning of the hunk is totally empty,
> not even with a SP to show it is a context line.Sorry, I've cut'n'pasted from an ssh session on repo.or.cz and *thought* that I fixed the whitespaces...
--
Petr "Pasky" Baudis
Stuff: http://pasky.or.cz/
#!/bin/perl -sp0777i<X+d*lMLa^*lN%0]dsXx++lMlN/dsM0<j]dsj
$/=unpack('H*',$_);$_=`echo 16dio\U$k"SK$/SM$n\EsN0p[lN*1
lK[d2%Sa2/d0$^Ixp"|dc`;s/\W//g;$_=pack('H*',/((..)*)$/)