add a hint about marking a key dead
This commit is contained in:
parent
f9bda65245
commit
5123a512d6
1 changed files with 2 additions and 0 deletions
|
@ -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
|
||||
|
|
Loading…
Add table
Reference in a new issue