]> git.ipfire.org Git - thirdparty/git.git/commit - builtin/fsck.c
fsck: introduce `git fsck --connectivity-only`
authorJohannes Schindelin <johannes.schindelin@gmx.de>
Mon, 22 Jun 2015 15:27:12 +0000 (17:27 +0200)
committerJunio C Hamano <gitster@pobox.com>
Tue, 23 Jun 2015 21:27:37 +0000 (14:27 -0700)
commit02976bf856bc47ea2bcb9423cd13b6f69ce58929
treefa1efe6204a7ac1055211214f169f17f589f3b9c
parent2becf00ff70b324999d0e3046d828a80884ab561
fsck: introduce `git fsck --connectivity-only`

This option avoids unpacking each and all blob objects, and just
verifies the connectivity. In particular with large repositories, this
speeds up the operation, at the expense of missing corrupt blobs,
ignoring unreachable objects and other fsck issues, if any.

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/t1450-fsck.sh