From: Junio C Hamano Date: Wed, 24 Nov 2010 20:44:41 +0000 (-0800) Subject: Merge branch 'uk/fix-author-ident-sed-script' into maint X-Git-Tag: v1.7.3.3~27 X-Git-Url: https://git.lorimer.id.au/gitweb.git/diff_plain/eeae6d754627343cfa9f1c72c5c00a3d949e9302?hp=c5d2901d48c4ea50de1f7f3f10946ce61b7d101e Merge branch 'uk/fix-author-ident-sed-script' into maint * uk/fix-author-ident-sed-script: get_author_ident_from_commit(): remove useless quoting --- diff --git a/git-sh-setup.sh b/git-sh-setup.sh index 6131670860..8d54b73d32 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