setup_git_directory: make sure GIT_DIR is a valid repository.
[gitweb.git] / git-lost-found.sh
index 3892f52005d1e36676681806a87ef35dc0689f22..9dd7430018f4bfb76c29e77e7fb9365acaa3bd9b 100755 (executable)
@@ -1,6 +1,6 @@
 #!/bin/sh
 
-. git-sh-setup || die "Not a git archive."
+. git-sh-setup
 
 laf="$GIT_DIR/lost-found"
 rm -fr "$laf" && mkdir -p "$laf/commit" "$laf/other" || exit