Code

Merge branch 'uk/fix-author-ident-sed-script'
authorJunio C Hamano <gitster@pobox.com>
Wed, 6 Oct 2010 19:11:12 +0000 (12:11 -0700)
committerJunio 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

git-sh-setup.sh

index 58d30c9388f14284214fee8ade4603a03e02b3b2..ae031a1375e9c674d80b9fa3d3d3b76780deaf9f 100644 (file)
@@ -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