From: Junio C Hamano Date: Sun, 8 Jan 2006 04:45:11 +0000 (-0800) Subject: revert/cherry-pick: handle single quote in author name. X-Git-Tag: v1.0.8^2~1 X-Git-Url: https://git.tokkee.org/?a=commitdiff_plain;h=013049c985e4095106e545559c17bc594d56468d;p=git.git revert/cherry-pick: handle single quote in author name. The same fix as aa66c7ec77d474b737da607d6cb2d07f56628def is needed here. Signed-off-by: Junio C Hamano --- diff --git a/git-revert.sh b/git-revert.sh index 63d201be1..2c5870684 100755 --- a/git-revert.sh +++ b/git-revert.sh @@ -93,6 +93,7 @@ revert) cherry-pick) pick_author_script=' /^author /{ + s/'\''/'\''\\'\'\''/g h s/^author \([^<]*\) <[^>]*> .*$/\1/ s/'\''/'\''\'\'\''/g