diff options
author | Junio C Hamano <gitster@pobox.com> | 2009-01-30 00:50:54 -0800 |
---|---|---|
committer | Junio C Hamano <gitster@pobox.com> | 2009-01-30 19:23:22 -0800 |
commit | e15ef669437d8396e0a442719ed54eb1df38366a (patch) | |
tree | 0d5a7764413e64e5a55d37727b1a11f7822076c7 /daemon.c | |
parent | fsck: HEAD is part of refs (diff) | |
download | tgif-e15ef669437d8396e0a442719ed54eb1df38366a.tar.xz |
fsck: check loose objects from alternate object stores by default
"git fsck" used to validate only loose objects that are local and nothing
else by default. This is not just too little when a repository is
borrowing objects from other object stores, but also caused the
connectivity check to mistakenly declare loose objects borrowed from them
to be missing.
The rationale behind the default mode that validates only loose objects is
because these objects are still young and more unlikely to have been
pushed to other repositories yet. That holds for loose objects borrowed
from alternate object stores as well.
Signed-off-by: Junio C Hamano <gitster@pobox.com>
Diffstat (limited to 'daemon.c')
0 files changed, 0 insertions, 0 deletions