Make sure alternates are carried over from the original repository.
[gitweb.git] / git-sh-setup-script
old mode 100644 (file)
new mode 100755 (executable)
index 660c524..5bf471f
@@ -12,6 +12,6 @@ die() {
 }
 
 [ -d "$GIT_DIR" ] &&
-[ -d "$GIT_DIR/refs" ]
+[ -d "$GIT_DIR/refs" ] &&
 [ -d "$GIT_OBJECT_DIRECTORY" ] &&
 [ -d "$GIT_OBJECT_DIRECTORY/00" ]