projects
/
git.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
Fix git-format-patch -s to include a Signed-off-by: line...
[git.git]
/
git-format-patch.sh
diff --git
a/git-format-patch.sh
b/git-format-patch.sh
index
7e67c4e
..
5fb8ce1
100755
(executable)
--- 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);
}