Code

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 63d201be1bf810499cfeb7aecbc23ec15e171bb7..2c5870684c9a0993116a86a511a0e9998a27b621 100755 (executable)
@@ -93,6 +93,7 @@ revert)
 cherry-pick)
        pick_author_script='
        /^author /{
+               s/'\''/'\''\\'\'\''/g
                h
                s/^author \([^<]*\) <[^>]*> .*$/\1/
                s/'\''/'\''\'\'\''/g