aboutsummaryrefslogtreecommitdiff
path: root/Remote.hs
diff options
context:
space:
mode:
authorGravatar Joey Hess <joey@kitenet.net>2011-11-09 01:15:51 -0400
committerGravatar Joey Hess <joey@kitenet.net>2011-11-09 01:33:20 -0400
commit56b8194470f0ddc1b3e1c51da8ca55a5c9c2eb05 (patch)
treea03330e0fd21dc8f2f433fb3f5b568418037db8c /Remote.hs
parentbf460a0a98d7e4c7f4eac525fcf300629db582b6 (diff)
cleanup
Diffstat (limited to 'Remote.hs')
-rw-r--r--Remote.hs5
1 files changed, 1 insertions, 4 deletions
diff --git a/Remote.hs b/Remote.hs
index 82af21bde..f820b62a1 100644
--- a/Remote.hs
+++ b/Remote.hs
@@ -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