summary | shortlog | log | commit | commitdiff | tree
raw | patch | inline | side by side (parent: 81214e4)
raw | patch | inline | side by side (parent: 81214e4)
author | Junio C Hamano <junkio@cox.net> | |
Fri, 6 Jan 2006 03:50:37 +0000 (19:50 -0800) | ||
committer | Junio C Hamano <junkio@cox.net> | |
Fri, 6 Jan 2006 04:02:33 +0000 (20:02 -0800) |
Noticed by Kyle McMartin.
Signed-off-by: Junio C Hamano <junkio@cox.net>
Signed-off-by: Junio C Hamano <junkio@cox.net>
git-commit.sh | patch | blob | history | |
git-format-patch.sh | patch | blob | history |
diff --git a/git-commit.sh b/git-commit.sh
index 82d743bd037db74f4233a620b001fb3002f346cc..193feeb5e42f1a486a3aae42935cb98696a2baac 100755 (executable)
--- a/git-commit.sh
+++ b/git-commit.sh
then
pick_author_script='
/^author /{
+ s/'\''/'\''\\'\'\''/g
h
s/^author \([^<]*\) <[^>]*> .*$/\1/
s/'\''/'\''\'\'\''/g
diff --git a/git-format-patch.sh b/git-format-patch.sh
index daa3caea778e13e946c4ffe53c876f5222ce7dfe..818059f2429d440396daa313dd7fde98bb4782e0 100755 (executable)
--- a/git-format-patch.sh
+++ b/git-format-patch.sh
whosepatchScript='
/^author /{
+ s/'\''/'\''\\'\'\''/g
s/author \(.*>\) \(.*\)$/au='\''\1'\'' ad='\''\2'\''/p
q
}'