From: Eric W. Biederman Date: Wed, 25 Jan 2006 20:03:41 +0000 (-0700) Subject: Fix git-format-patch -s to include a Signed-off-by: line... X-Git-Tag: v1.2.0~111 X-Git-Url: http://git.tremily.us/?a=commitdiff_plain;h=fc5be4fdaa063a667d17ae40e4ad130e2177b0f8;p=git.git Fix git-format-patch -s to include a Signed-off-by: line... In the last round of bug fixes the signed-off-by line was still be generated but it was not including a signed-off-by line :( Signed-off-by: Eric W. Biederman Signed-off-by: Junio C Hamano --- diff --git a/git-format-patch.sh b/git-format-patch.sh index 7e67c4e40..5fb8ce1fb 100755 --- a/git-format-patch.sh +++ b/git-format-patch.sh @@ -178,7 +178,7 @@ my ($signoff_pattern, $done_header, $done_subject, $signoff_seen, $last_was_signoff); if ($signoff) { - $signoff = `git-var GIT_COMMITTER_IDENT`; + $signoff = "Signed-off-by: " . `git-var GIT_COMMITTER_IDENT`; $signoff =~ s/>.*/>/; $signoff_pattern = quotemeta($signoff); }