diff options
author | Joey Hess <joey@kitenet.net> | 2011-11-09 01:15:51 -0400 |
---|---|---|
committer | Joey Hess <joey@kitenet.net> | 2011-11-09 01:33:20 -0400 |
commit | 56b8194470f0ddc1b3e1c51da8ca55a5c9c2eb05 (patch) | |
tree | a03330e0fd21dc8f2f433fb3f5b568418037db8c /Remote.hs | |
parent | bf460a0a98d7e4c7f4eac525fcf300629db582b6 (diff) |
cleanup
Diffstat (limited to 'Remote.hs')
-rw-r--r-- | Remote.hs | 5 |
1 files changed, 1 insertions, 4 deletions
@@ -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 |