projects
/
git.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
Document the --(no-)edit switch of git-revert and git-cherry-pick
[git.git]
/
git-lost-found.sh
diff --git
a/git-lost-found.sh
b/git-lost-found.sh
index
9dd7430
..
2beec2a
100755
(executable)
--- a/
git-lost-found.sh
+++ b/
git-lost-found.sh
@@
-1,7
+1,6
@@
#!/bin/sh
-. git-sh-setup
-
+GIT_DIR=`git-rev-parse --git-dir` || exit $?
laf="$GIT_DIR/lost-found"
rm -fr "$laf" && mkdir -p "$laf/commit" "$laf/other" || exit