author | Junio C Hamano <gitster@pobox.com> | |
Wed, 6 Oct 2010 19:11:12 +0000 (12:11 -0700) | ||
committer | Junio C Hamano <gitster@pobox.com> | |
Wed, 6 Oct 2010 19:11:12 +0000 (12:11 -0700) |
* uk/fix-author-ident-sed-script:
get_author_ident_from_commit(): remove useless quoting
get_author_ident_from_commit(): remove useless quoting
git-sh-setup.sh | patch | blob | history |
diff --git a/git-sh-setup.sh b/git-sh-setup.sh
index 58d30c9388f14284214fee8ade4603a03e02b3b2..ae031a1375e9c674d80b9fa3d3d3b76780deaf9f 100644 (file)
--- a/git-sh-setup.sh
+++ b/git-sh-setup.sh
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