summaryrefslogtreecommitdiff
path: root/git-format-patch.sh
diff options
context:
space:
mode:
authorEric W. Biederman <ebiederm@xmission.com>2006-01-25 13:03:41 -0700
committerJunio C Hamano <junkio@cox.net>2006-01-25 15:10:35 -0800
commitfc5be4fdaa063a667d17ae40e4ad130e2177b0f8 (patch)
treef48f82c0ee59532e3c3300f5d24ee7e85c017f18 /git-format-patch.sh
parent205df2796de24320c86528051576dcd4546215f0 (diff)
downloadgit-fc5be4fdaa063a667d17ae40e4ad130e2177b0f8.tar.gz
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 <ebiederm@xmission.com> Signed-off-by: Junio C Hamano <junkio@cox.net>
Diffstat (limited to 'git-format-patch.sh')
-rwxr-xr-xgit-format-patch.sh2
1 files changed, 1 insertions, 1 deletions
diff --git a/git-format-patch.sh b/git-format-patch.sh
index 7e67c4e403..5fb8ce1fbc 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);
}