post-receive-email example hook: sed command for getting description was wrong
commitc855195cd014f8b5a32a32b36cb77319654583a3
authorAndy Parkins <andyparkins@gmail.com>
Thu, 26 Apr 2007 21:37:16 +0000 (26 22:37 +0100)
committerJunio C Hamano <junkio@cox.net>
Fri, 27 Apr 2007 03:59:55 +0000 (26 20:59 -0700)
tree90ccc8524d2cc87961d388d2d867f0bbc96b34c4
parent024e5b31af6f06d39542ab1a44de358d7734388b
post-receive-email example hook: sed command for getting description was wrong

The sed command that extracted the first line of the project description
didn't include the -n switch and hence the project name was being
printed twice.  This was ruining the email header generation because it
was assumed that the description was only one line and was included in
the subject.  This turned the subject into a two line item and
prematurely finished the header.

Signed-off-by: Andy Parkins <andyparkins@gmail.com>
Signed-off-by: Junio C Hamano <junkio@cox.net>
contrib/hooks/post-receive-email