From 013049c985e4095106e545559c17bc594d56468d Mon Sep 17 00:00:00 2001 From: Junio C Hamano Date: Sat, 7 Jan 2006 20:45:11 -0800 Subject: [PATCH] revert/cherry-pick: handle single quote in author name. The same fix as aa66c7ec77d474b737da607d6cb2d07f56628def is needed here. Signed-off-by: Junio C Hamano --- git-revert.sh | 1 + 1 file changed, 1 insertion(+) 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 -- 2.30.2