From: Petr Baudis Date: Sun, 24 Sep 2006 20:05:05 GMT Subject: Re: [PATCH] cg-commit: fix signed off handling Message-ID: <20060924200505.GY20017@pasky.or.cz> In-Reply-To: <20060924183246.GA695@diku.dk> Dear diary, on Sun, Sep 24, 2006 at 08:32:46PM CEST, I got a letter where Jonas Fonseca said that... > Petr Baudis wrote Sun, Sep 24, 2006: > > diff --git a/cg-commit b/cg-commit > > index 43e6c6c..beedb6f 100755 > > --- a/cg-commit > > +++ b/cg-commit > > @@ -402,10 +402,6 @@ if [ "$msgfile" ]; then > > written=1 > > fi > > > > -# Always have at least one blank line, to ease the editing for > > -# the poor people whose text editor has no 'O' command. > > -[ "$written" ] || { tty -s && echo >>"$LOGMSG"; } > > - > > add_signoff() { > > if [ "$signoff" ] && ! grep -q -i "signed-off-by: $signoff" $LOGMSG; then > > grep -q -i sign-off-by $LOGMSG || echo > ^^^^^^^^^^^ > > My patch also fixed this to grep for "signed-off-by". Oh, thanks - fixed. -- Petr "Pasky" Baudis Stuff: http://pasky.or.cz/ #!/bin/perl -sp0777i