projects
/
git.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
Merge branch 'nh/http' into next
[git.git]
/
git-lost-found.sh
diff --git
a/git-lost-found.sh
b/git-lost-found.sh
index
9dd7430
..
ba6d587
100755
(executable)
--- a/
git-lost-found.sh
+++ b/
git-lost-found.sh
@@
-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