summaryrefslogtreecommitdiff
path: root/git-sh-setup.sh
diff options
context:
space:
mode:
authorJunio C Hamano <gitster@pobox.com>2010-10-06 12:11:12 -0700
committerJunio C Hamano <gitster@pobox.com>2010-10-06 12:11:12 -0700
commit90d6bd5ed3bd5de7be037abace4afa065fb2207b (patch)
treefd24d55ab3bbceca054b098578f23280eda1da2d /git-sh-setup.sh
parent314ae0f421511137580ff6707643ccb75b2d2b34 (diff)
parent9facb3b05b6a2fbfcd2525d5946cd5505488126b (diff)
downloadgit-90d6bd5ed3bd5de7be037abace4afa065fb2207b.tar.gz
Merge branch 'uk/fix-author-ident-sed-script'
* uk/fix-author-ident-sed-script: get_author_ident_from_commit(): remove useless quoting
Diffstat (limited to 'git-sh-setup.sh')
-rw-r--r--git-sh-setup.sh3
1 files changed, 0 insertions, 3 deletions
diff --git a/git-sh-setup.sh b/git-sh-setup.sh
index 58d30c9388..ae031a1375 100644
--- a/git-sh-setup.sh
+++ b/git-sh-setup.sh
@@ -151,17 +151,14 @@ get_author_ident_from_commit () {
s/'\''/'\''\\'\'\''/g
h
s/^author \([^<]*\) <[^>]*> .*$/\1/
- s/'\''/'\''\'\'\''/g
s/.*/GIT_AUTHOR_NAME='\''&'\''/p
g
s/^author [^<]* <\([^>]*\)> .*$/\1/
- s/'\''/'\''\'\'\''/g
s/.*/GIT_AUTHOR_EMAIL='\''&'\''/p
g
s/^author [^<]* <[^>]*> \(.*\)$/\1/
- s/'\''/'\''\'\'\''/g
s/.*/GIT_AUTHOR_DATE='\''&'\''/p
q