Skip to content

Commit

Permalink
Merge branch 'uk/fix-author-ident-sed-script'
Browse files Browse the repository at this point in the history
* uk/fix-author-ident-sed-script:
  get_author_ident_from_commit(): remove useless quoting
  • Loading branch information
Junio C Hamano committed Oct 6, 2010
2 parents 314ae0f + 9facb3b commit 90d6bd5
Showing 1 changed file with 0 additions and 3 deletions.
3 changes: 0 additions & 3 deletions git-sh-setup.sh
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit 90d6bd5

Please sign in to comment.