summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorLibravatar Eric W. Biederman <ebiederm@xmission.com>2006-01-25 13:03:41 -0700
committerLibravatar Junio C Hamano <junkio@cox.net>2006-01-25 15:10:35 -0800
commitfc5be4fdaa063a667d17ae40e4ad130e2177b0f8 (patch)
treef48f82c0ee59532e3c3300f5d24ee7e85c017f18
parenttests: adjust breakage by stricter rev-parse (diff)
downloadtgif-fc5be4fdaa063a667d17ae40e4ad130e2177b0f8.tar.xz
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>
-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);
}