diff options
author | Junio C Hamano <gitster@pobox.com> | 2010-10-06 12:11:12 -0700 |
---|---|---|
committer | Junio C Hamano <gitster@pobox.com> | 2010-10-06 12:11:12 -0700 |
commit | 90d6bd5ed3bd5de7be037abace4afa065fb2207b (patch) | |
tree | fd24d55ab3bbceca054b098578f23280eda1da2d | |
parent | 314ae0f421511137580ff6707643ccb75b2d2b34 (diff) | |
parent | 9facb3b05b6a2fbfcd2525d5946cd5505488126b (diff) | |
download | git-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
-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 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 |