This commit is contained in:
Joey Hess 2011-11-09 01:15:51 -04:00
parent bf460a0a98
commit 56b8194470
7 changed files with 13 additions and 22 deletions

View file

@ -231,9 +231,6 @@ forceTrust level remotename = do
- key to the remote, or removing the key from it *may* log the change
- on the remote, but this cannot always be relied on. -}
remoteHasKey :: Remote Annex -> Key -> Bool -> Annex ()
remoteHasKey remote key present = do
let remoteuuid = uuid remote
g <- gitRepo
logChange g key remoteuuid status
remoteHasKey remote key present = logChange key (uuid remote) status
where
status = if present then InfoPresent else InfoMissing