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>
Eric W. Biederman committed
Jan 25, 2006 at 13:03 UTC
fc5be4fdaa063a667d17ae40e4ad130e2177b0f8
1 file changed
+1
-1
git-format-patch.sh
+1
-1
@@ -178,7 +178,7 @@ my ($signoff_pattern, $done_header, $done_subject, $signoff_seen,
178
$last_was_signoff);
179
180
if ($signoff) {
181
- $signoff = `git-var GIT_COMMITTER_IDENT`;
181
+ $signoff = "Signed-off-by: " . `git-var GIT_COMMITTER_IDENT`;
182
$signoff =~ s/>.*/>/;
183
$signoff_pattern = quotemeta($signoff);
184
}