X-Git-Url: https://git.octo.it/?a=blobdiff_plain;f=git-sh-setup.sh;h=025ef2d5f6b37d89dab1d602e1d8d1a80ab7f42e;hb=384e99a4a99820c34fe3600b2aad3f0185dd43db;hp=157c7e4d6ce470191ca4207aaf1ecbf5cd4c7d75;hpb=cfac3f3fa7267c8c06372875f3b05311f0fe4346;p=git.git diff --git a/git-sh-setup.sh b/git-sh-setup.sh index 157c7e4d..025ef2d5 100755 --- a/git-sh-setup.sh +++ b/git-sh-setup.sh @@ -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