diff options
author | Junio C Hamano <gitster@pobox.com> | 2010-11-24 12:44:41 -0800 |
---|---|---|
committer | Junio C Hamano <gitster@pobox.com> | 2010-11-24 12:44:41 -0800 |
commit | eeae6d754627343cfa9f1c72c5c00a3d949e9302 (patch) | |
tree | ab560da872285598cd08d4c4a519d6cccc0ced6e | |
parent | c5d2901d48c4ea50de1f7f3f10946ce61b7d101e (diff) | |
parent | 9facb3b05b6a2fbfcd2525d5946cd5505488126b (diff) | |
download | git-eeae6d754627343cfa9f1c72c5c00a3d949e9302.tar.gz git-eeae6d754627343cfa9f1c72c5c00a3d949e9302.tar.xz |
Merge branch 'uk/fix-author-ident-sed-script' into maint
* uk/fix-author-ident-sed-script:
get_author_ident_from_commit(): remove useless quoting
-rw-r--r-- | git-sh-setup.sh | 3 |
1 files changed, 0 insertions, 3 deletions
diff --git a/git-sh-setup.sh b/git-sh-setup.sh index 613167086..8d54b73d3 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 |