projects
/
git.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
5f815e5
)
revert/cherry-pick: handle single quote in author name.
author
Junio C Hamano
<junkio@cox.net>
Sun, 8 Jan 2006 04:45:11 +0000
(20:45 -0800)
committer
Junio C Hamano
<junkio@cox.net>
Sun, 8 Jan 2006 04:45:11 +0000
(20:45 -0800)
The same fix as
aa66c7ec77d474b737da607d6cb2d07f56628def
is
needed here.
Signed-off-by: Junio C Hamano <junkio@cox.net>
git-revert.sh
patch
|
blob
|
history
diff --git
a/git-revert.sh
b/git-revert.sh
index
63d201b
..
2c58706
100755
(executable)
--- a/
git-revert.sh
+++ b/
git-revert.sh
@@
-93,6
+93,7
@@
revert)
cherry-pick)
pick_author_script='
/^author /{
+ s/'\''/'\''\\'\'\''/g
h
s/^author \([^<]*\) <[^>]*> .*$/\1/
s/'\''/'\''\'\'\''/g