From fc5be4fdaa063a667d17ae40e4ad130e2177b0f8 Mon Sep 17 00:00:00 2001 From: "Eric W. Biederman" Date: Wed, 25 Jan 2006 13:03:41 -0700 Subject: 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 7e67c4e..5fb8ce1 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); } -- cgit v0.10.2-6-g49f6