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-06 06:50:37 +0300
committerJunio C Hamano <junkio@cox.net>2006-01-06 07:02:33 +0300
commitaa66c7ec77d474b737da607d6cb2d07f56628def (patch)
treeb8090092fd2c9fe9b5365332ee7d421233c14403 /git-format-patch.sh
parent81214e4ddf2f0114ce7756a014dc533340fcb3f9 (diff)
format-patch/commit: Quote single quote in the author name properly.
Noticed by Kyle McMartin. Signed-off-by: Junio C Hamano <junkio@cox.net>
Diffstat (limited to 'git-format-patch.sh')
-rwxr-xr-xgit-format-patch.sh1
1 files changed, 1 insertions, 0 deletions
diff --git a/git-format-patch.sh b/git-format-patch.sh
index daa3caea77..818059f242 100755
--- a/git-format-patch.sh
+++ b/git-format-patch.sh
@@ -173,6 +173,7 @@ titleScript='
whosepatchScript='
/^author /{
+ s/'\''/'\''\\'\'\''/g
s/author \(.*>\) \(.*\)$/au='\''\1'\'' ad='\''\2'\''/p
q
}'