Skip to content

Commit 90d6bd5

Browse files
committed
Merge branch 'uk/fix-author-ident-sed-script'
* uk/fix-author-ident-sed-script: get_author_ident_from_commit(): remove useless quoting
2 parents 314ae0f + 9facb3b commit 90d6bd5

File tree

1 file changed

+0
-3
lines changed

1 file changed

+0
-3
lines changed

git-sh-setup.sh

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -151,17 +151,14 @@ get_author_ident_from_commit () {
151151
s/'\''/'\''\\'\'\''/g
152152
h
153153
s/^author \([^<]*\) <[^>]*> .*$/\1/
154-
s/'\''/'\''\'\'\''/g
155154
s/.*/GIT_AUTHOR_NAME='\''&'\''/p
156155
157156
g
158157
s/^author [^<]* <\([^>]*\)> .*$/\1/
159-
s/'\''/'\''\'\'\''/g
160158
s/.*/GIT_AUTHOR_EMAIL='\''&'\''/p
161159
162160
g
163161
s/^author [^<]* <[^>]*> \(.*\)$/\1/
164-
s/'\''/'\''\'\'\''/g
165162
s/.*/GIT_AUTHOR_DATE='\''&'\''/p
166163
167164
q

0 commit comments

Comments
 (0)