document --index-version for index-pack and pack-objects
[gitweb.git] / git-lost-found.sh
index b928f2ca52c1991ee50838fc47580ed83c58fb64..58570dff137adfdeb72ebf3f088af7379eded522 100755 (executable)
@@ -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