Merge branch 'jc/lockfile' into next
[gitweb.git] / git-lost-found.sh
index 9dd7430018f4bfb76c29e77e7fb9365acaa3bd9b..ba6d587f3199e5847dc942810ea85b2dbec656b9 100755 (executable)
@@ -1,7 +1,14 @@
 #!/bin/sh
 
+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