Andrew's git
/
gitweb.git
/ blobdiff
summary
|
log
|
commit
|
diff
|
tree
commit
grep
author
committer
pickaxe
?
re
attribute macro support
[gitweb.git]
/
git-lost-found.sh
diff --git
a/git-lost-found.sh
b/git-lost-found.sh
index b928f2ca52c1991ee50838fc47580ed83c58fb64..58570dff137adfdeb72ebf3f088af7379eded522 100755
(executable)
--- a/
git-lost-found.sh
+++ b/
git-lost-found.sh
@@
-12,7
+12,7
@@
fi
laf="$GIT_DIR/lost-found"
rm -fr "$laf" && mkdir -p "$laf/commit" "$laf/other" || exit
-git fsck
-objects --full
|
+git fsck
--full --no-reflogs
|
while read dangling type sha1
do
case "$dangling" in