log missing index at notice priority
This commit is contained in:
parent
6a45f4cdaf
commit
58b72a30c2
1 changed files with 1 additions and 1 deletions
|
@ -42,7 +42,7 @@ sanityCheckerStartupThread startupdelay = namedThreadUnchecked "SanityCheckerSta
|
||||||
- all, so detect and repair. -}
|
- all, so detect and repair. -}
|
||||||
ifM (not <$> liftAnnex (inRepo (checkIndex S.empty)))
|
ifM (not <$> liftAnnex (inRepo (checkIndex S.empty)))
|
||||||
( do
|
( do
|
||||||
debug ["corrupt index file found at startup; removing and restaging"]
|
notice ["corrupt index file found at startup; removing and restaging"]
|
||||||
liftAnnex $ inRepo nukeIndex
|
liftAnnex $ inRepo nukeIndex
|
||||||
{- Normally the startup scan avoids re-staging files,
|
{- Normally the startup scan avoids re-staging files,
|
||||||
- but with the index deleted, everything needs to be
|
- but with the index deleted, everything needs to be
|
||||||
|
|
Loading…
Reference in a new issue