OSDN Git Service
(root)
/
git-core
/
git.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
c574e68
)
am: fix stgit patch mangling
author
Giuseppe Bilotta
<giuseppe.bilotta@gmail.com>
Mon, 29 Aug 2011 16:44:07 +0000
(18:44 +0200)
committer
Junio C Hamano
<gitster@pobox.com>
Mon, 29 Aug 2011 16:51:44 +0000
(09:51 -0700)
Signed-off-by: Giuseppe Bilotta <giuseppe.bilotta@gmail.com>
Signed-off-by: Junio C Hamano <gitster@pobox.com>
git-am.sh
patch
|
blob
|
history
diff --git
a/git-am.sh
b/git-am.sh
index
0ff1f57
..
3afa92b
100755
(executable)
--- a/
git-am.sh
+++ b/
git-am.sh
@@
-229,7
+229,7
@@
split_patches () {
perl -ne 'BEGIN { $subject = 0 }
if ($subject > 1) { print ; }
elsif (/^\s+$/) { next ; }
- elsif (/^Author:/) {
print s/Author/From/ ;
}
+ elsif (/^Author:/) {
s/Author/From/ ; print ;
}
elsif (/^(From|Date)/) { print ; }
elsif ($subject) {
$subject = 2 ;