X-Git-Url: https://git.tokkee.org/?a=blobdiff_plain;f=git-sh-setup.sh;h=5d8e4e6c89f0471567a7aa1f07b054d8ac502e15;hb=bda02ebc39fc9e46c979eee8026a66ac1a060dbd;hp=8e427dab31c27bd78d9eac1ad15bc1f5dcc044c4;hpb=110c511dbeff65f7ae92216cf1d976a9093d911f;p=git.git diff --git a/git-sh-setup.sh b/git-sh-setup.sh index 8e427dab3..5d8e4e6c8 100644 --- a/git-sh-setup.sh +++ b/git-sh-setup.sh @@ -90,7 +90,7 @@ $LONG_USAGE" fi case "$1" in - -h|--h|--he|--hel|--help) + -h) echo "$LONG_USAGE" exit esac @@ -200,7 +200,7 @@ get_author_ident_from_commit () { s/.*/GIT_AUTHOR_EMAIL='\''&'\''/p g - s/^author [^<]* <[^>]*> \(.*\)$/\1/ + s/^author [^<]* <[^>]*> \(.*\)$/@\1/ s/.*/GIT_AUTHOR_DATE='\''&'\''/p q