Skip to content

Commit

Permalink
Merge branch 'uk/fix-author-ident-sed-script' into maint
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
gitster committed Nov 24, 2010
2 parents c5d2901 + 9facb3b commit eeae6d7
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 eeae6d7

Please sign in to comment.