git-fsck: add --lost-found option
commit68f6c019fd8d49fbaa72f1aeeb21eb921b6a16bf
authorJohannes Schindelin <Johannes.Schindelin@gmx.de>
Tue, 3 Jul 2007 00:33:54 +0000 (3 01:33 +0100)
committerJunio C Hamano <gitster@pobox.com>
Tue, 3 Jul 2007 04:34:12 +0000 (2 21:34 -0700)
treee02141a138971b76a65a99f4d7d283600bf34c0a
parent1a6f3999998a22325ff820bf8c840e3baf3d2281
git-fsck: add --lost-found option

With this option, dangling objects are not only reported, but also
written to .git/lost-found/commit/ or .git/lost-found/other/. This
option implies '--full' and '--no-reflogs'.

'git fsck --lost-found' is meant as a replacement for git-lost-found.

Signed-off-by: Johannes Schindelin <johannes.schindelin@gmx.de>
Signed-off-by: Junio C Hamano <gitster@pobox.com>
Documentation/git-fsck.txt
builtin-fsck.c
t/t1420-lost-found.sh [new file with mode: 0755]