revert/cherry-pick: handle single quote in author name.
authorJunio C Hamano <junkio@cox.net>
Sun, 8 Jan 2006 04:45:11 +0000 (20:45 -0800)
committerJunio 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

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