X-Git-Url: https://git.octo.it/?a=blobdiff_plain;f=git-sh-setup.sh;h=d15747f1ed8f875a3c1bb7129e50bfbc8d2b033f;hb=7a97de4e19757b5576f32ce67d90cb792dbb893b;hp=157c7e4d6ce470191ca4207aaf1ecbf5cd4c7d75;hpb=cfac3f3fa7267c8c06372875f3b05311f0fe4346;p=git.git diff --git a/git-sh-setup.sh b/git-sh-setup.sh index 157c7e4d..d15747f1 100755 --- a/git-sh-setup.sh +++ b/git-sh-setup.sh @@ -30,7 +30,7 @@ $LONG_USAGE" fi case "$1" in - --h|--he|--hel|--help) + -h|--h|--he|--hel|--help) echo "$LONG_USAGE" exit esac @@ -42,7 +42,7 @@ then # Make sure we are in a valid repository of a vintage we understand. GIT_DIR="$GIT_DIR" git repo-config --get core.nosuch >/dev/null - if test $? == 128 + if test $? = 128 then exit fi