lost-found: use fsck-objects --full
Signed-off-by: Junio C Hamano <junkio@cox.net>
This commit is contained in:
parent
c2c487cf3a
commit
5f468c4805
@ -12,7 +12,7 @@ fi
|
|||||||
laf="$GIT_DIR/lost-found"
|
laf="$GIT_DIR/lost-found"
|
||||||
rm -fr "$laf" && mkdir -p "$laf/commit" "$laf/other" || exit
|
rm -fr "$laf" && mkdir -p "$laf/commit" "$laf/other" || exit
|
||||||
|
|
||||||
git fsck-objects |
|
git fsck-objects --full |
|
||||||
while read dangling type sha1
|
while read dangling type sha1
|
||||||
do
|
do
|
||||||
case "$dangling" in
|
case "$dangling" in
|
||||||
|
Loading…
Reference in New Issue
Block a user