add a hint about marking a key dead

This commit is contained in:
Joey Hess 2015-06-09 15:12:40 -04:00
parent f9bda65245
commit 5123a512d6

View file

@ -356,6 +356,8 @@ checkKeyNumCopies key afile numcopies = do
, do
ppuuids <- Remote.prettyPrintUUIDs "untrusted" untrustedlocations
warning $ missingNote file present numcopies ppuuids
when (fromNumCopies present == 0 && isNothing afile) $
showLongNote "(Avoid this check by running: git annex dead --key )"
return False
)
else return True