Format tweaks for asciidoc.
[gitweb.git] / git-lost-found.sh
index 3892f52005d1e36676681806a87ef35dc0689f22..ba6d587f3199e5847dc942810ea85b2dbec656b9 100755 (executable)
@@ -1,6 +1,13 @@
 #!/bin/sh
 
-. git-sh-setup || die "Not a git archive."
+USAGE=''
+SUBDIRECTORY_OK='Yes'
+. git-sh-setup
+
+if [ "$#" != "0" ]
+then
+    usage
+fi
 
 laf="$GIT_DIR/lost-found"
 rm -fr "$laf" && mkdir -p "$laf/commit" "$laf/other" || exit