From fc5be4fdaa063a667d17ae40e4ad130e2177b0f8 Mon Sep 17 00:00:00 2001 From: "Eric W. Biederman" Date: Wed, 25 Jan 2006 13:03:41 -0700 Subject: [PATCH] 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 --- git-format-patch.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/git-format-patch.sh b/git-format-patch.sh index 7e67c4e4..5fb8ce1f 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); } -- 2.11.0