Skip to content

Commit 013049c

Browse files
author
Junio C Hamano
committed
revert/cherry-pick: handle single quote in author name.
The same fix as aa66c7e is needed here. Signed-off-by: Junio C Hamano <junkio@cox.net>
1 parent 5f815e5 commit 013049c

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

git-revert.sh

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -93,6 +93,7 @@ revert)
9393
cherry-pick)
9494
pick_author_script='
9595
/^author /{
96+
s/'\''/'\''\\'\'\''/g
9697
h
9798
s/^author \([^<]*\) <[^>]*> .*$/\1/
9899
s/'\''/'\''\'\'\''/g

0 commit comments

Comments
 (0)