]> git.ipfire.org Git - thirdparty/git.git/commit - log-tree.c
Add a newline before appending "Signed-off-by: " line
authorFranck Bui-Huu <vagabon.xyz@gmail.com>
Sun, 13 Aug 2006 18:30:27 +0000 (11:30 -0700)
committerJunio C Hamano <junkio@cox.net>
Mon, 14 Aug 2006 06:00:01 +0000 (23:00 -0700)
commitc35f4c371ac12f4d29b08e46c519ddc0a6494f6e
tree63060547e15b0796318ca0377216d56cfa4cf25c
parent460cccd3ba1d38fd64c9e83e40d58bcf3e9d7d2c
Add a newline before appending "Signed-off-by: " line

Whef the last line of the commit log message does not end with
"^[-A-Za-z]+: [^@]+@", append a newline after it to separate
the body of the commit log message from the run of sign-off and
ack lines. e.g. "Signed-off-by: A U Thor <au.thor@example.com>" or
"Acked-by: Me <myself@example.org>".

Signed-off-by: Junio C Hamano <junkio@cox.net>
log-tree.c