revert/cherry-pick: handle single quote in author name.

The same fix as aa66c7ec77 is
needed here.

Signed-off-by: Junio C Hamano <junkio@cox.net>
maint
Junio C Hamano 2006-01-07 20:45:11 -08:00
parent 5f815e5922
commit 013049c985
1 changed files with 1 additions and 0 deletions

View File

@ -93,6 +93,7 @@ revert)
cherry-pick) cherry-pick)
pick_author_script=' pick_author_script='
/^author /{ /^author /{
s/'\''/'\''\\'\'\''/g
h h
s/^author \([^<]*\) <[^>]*> .*$/\1/ s/^author \([^<]*\) <[^>]*> .*$/\1/
s/'\''/'\''\'\'\''/g s/'\''/'\''\'\'\''/g