revert/cherry-pick: handle single quote in author name.
The same fix as aa66c7ec77d474b737da607d6cb2d07f56628def is needed here. Signed-off-by: Junio C Hamano <junkio@cox.net>
Junio C Hamano committed
Jan 7, 2006 at 20:45 UTC
013049c985e4095106e545559c17bc594d56468d
1 file changed
+1
git-revert.sh
+1
@@ -93,6 +93,7 @@ revert)
93
cherry-pick)
94
pick_author_script='
95
/^author /{
96
+ s/'\''/'\''\\'\'\''/g
97
h
98
s/^author \([^<]*\) <[^>]*> .*$/\1/
99
s/'\''/'\''\'\'\''/g