X-Git-Url: https://git.tokkee.org/?a=blobdiff_plain;f=git-sh-setup.sh;h=8d54b73d3208064829613499580bad541586c725;hb=eb4e67288bb9d66fb46092fa30d72c4bdded0c2a;hp=6131670860514c215a6b9b7417dd05c3124e81b4;hpb=9db41eba4259126dbe1c68e2207d342d11f14745;p=git.git diff --git a/git-sh-setup.sh b/git-sh-setup.sh index 613167086..8d54b73d3 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