Welcome to mirror list, hosted at ThFree Co, Russian Federation.

git.kernel.org/pub/scm/git/git.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJunio C Hamano <junkio@cox.net>2006-01-08 07:45:11 +0300
committerJunio C Hamano <junkio@cox.net>2006-01-08 07:45:11 +0300
commit013049c985e4095106e545559c17bc594d56468d (patch)
tree726b240134c5d7a34b9751dbf751e86f456a9681
parent5f815e5922eb31c5826e5f5f21e83d1f6f338ed1 (diff)
revert/cherry-pick: handle single quote in author name.
The same fix as aa66c7ec77d474b737da607d6cb2d07f56628def is needed here. Signed-off-by: Junio C Hamano <junkio@cox.net>
-rwxr-xr-xgit-revert.sh1
1 files changed, 1 insertions, 0 deletions
diff --git a/git-revert.sh b/git-revert.sh
index 63d201be1b..2c5870684c 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