Merge refs/heads/master from .
[gitweb.git] / git-sh-setup-script
index 5bf471f78150962a131ebc5f1b2e92e57cda70c9..84e15df1bcedba39e9310700d2aa7bf14dde2395 100755 (executable)
@@ -11,7 +11,6 @@ die() {
        exit 1
 }
 
-[ -d "$GIT_DIR" ] &&
+[ -h "$GIT_DIR/HEAD" ] &&
 [ -d "$GIT_DIR/refs" ] &&
-[ -d "$GIT_OBJECT_DIRECTORY" ] &&
 [ -d "$GIT_OBJECT_DIRECTORY/00" ]