X-Git-Url: https://git.tokkee.org/?a=blobdiff_plain;f=git-sh-setup.sh;h=ae031a1375e9c674d80b9fa3d3d3b76780deaf9f;hb=fd4e1888ae16978ce687de25409ee36eb11138ad;hp=58d30c9388f14284214fee8ade4603a03e02b3b2;hpb=a6fa2a87b78eda52a871d539e15a7493073b307a;p=git.git diff --git a/git-sh-setup.sh b/git-sh-setup.sh index 58d30c938..ae031a137 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