diff options
author | Junio C Hamano <junkio@cox.net> | 2006-01-07 20:45:11 -0800 |
---|---|---|
committer | Junio C Hamano <junkio@cox.net> | 2006-01-07 20:45:11 -0800 |
commit | 013049c985e4095106e545559c17bc594d56468d (patch) | |
tree | 726b240134c5d7a34b9751dbf751e86f456a9681 | |
parent | 5f815e5922eb31c5826e5f5f21e83d1f6f338ed1 (diff) | |
download | git-013049c985e4095106e545559c17bc594d56468d.tar.gz git-013049c985e4095106e545559c17bc594d56468d.tar.xz |
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-x | git-revert.sh | 1 |
1 files changed, 1 insertions, 0 deletions
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 |