Merge branch 'master'
authorJunio C Hamano <junkio@cox.net>
Sun, 12 Feb 2006 21:15:12 +0000 (13:15 -0800)
committerJunio C Hamano <junkio@cox.net>
Sun, 12 Feb 2006 21:15:12 +0000 (13:15 -0800)
* master:
  GIT 1.2.0
  Fix "test: unexpected operator" on bsd

GIT-VERSION-GEN
git-sh-setup.sh

index 72201be..1056b7c 100755 (executable)
@@ -1,7 +1,7 @@
 #!/bin/sh
 
 GVF=GIT-VERSION-FILE
-DEF_VER=v1.1.GIT
+DEF_VER=v1.2.GIT
 
 # First try git-describe, then see if there is a version file
 # (included in release tarballs), then default
index 157c7e4..025ef2d 100755 (executable)
@@ -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