rekey --force: Incorrectly marked the new key's content as being present in the local repo even when it was not.

This commit is contained in:
Joey Hess 2016-12-19 18:18:57 -04:00
parent 8136c72fa1
commit a171e576b2
No known key found for this signature in database
GPG key ID: C910D9222512E3C7
2 changed files with 4 additions and 2 deletions

View file

@ -126,6 +126,6 @@ cleanup file oldkey newkey = do
Database.Keys.removeAssociatedFile oldkey
=<< inRepo (toTopFilePath file)
)
logStatus newkey InfoPresent
whenM (inAnnex newkey) $
logStatus newkey InfoPresent
return True