Skip to content

Commit

Permalink
Fix git-format-patch -s to include a Signed-off-by: line...
Browse files Browse the repository at this point in the history
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>
  • Loading branch information
Eric W. Biederman authored and Junio C Hamano committed Jan 25, 2006
1 parent 205df27 commit fc5be4f
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion git-format-patch.sh
Original file line number Diff line number Diff line change
Expand Up @@ -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);
}
Expand Down

0 comments on commit fc5be4f

Please sign in to comment.