author | Johannes Schindelin <Johannes.Schindelin@gmx.de> | |
Tue, 3 Jul 2007 00:33:54 +0000 (01:33 +0100) | ||
committer | Junio C Hamano <gitster@pobox.com> | |
Tue, 3 Jul 2007 04:34:12 +0000 (21:34 -0700) | ||
commit | 68f6c019fd8d49fbaa72f1aeeb21eb921b6a16bf | |
tree | e02141a138971b76a65a99f4d7d283600bf34c0a | tree | snapshot |
parent | 1a6f3999998a22325ff820bf8c840e3baf3d2281 | commit | diff |
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>
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 | diff | blob | history | |
builtin-fsck.c | diff | blob | history | |
t/t1420-lost-found.sh | [new file with mode: 0755] | blob |