summaryrefslogtreecommitdiff
path: root/Content.hs
diff options
context:
space:
mode:
authorGravatar Joey Hess <joey@kitenet.net>2011-05-15 15:27:49 -0400
committerGravatar Joey Hess <joey@kitenet.net>2011-05-15 15:27:49 -0400
commit6aab88fa251a14fbf31c7a8d80296c78db0ed048 (patch)
tree34465a5c706ab825ecd34b9261ecc6f35e4dd555 /Content.hs
parent1e5beda86a1d0185466547bd1acb61a75ac66992 (diff)
more monadic operator use
Diffstat (limited to 'Content.hs')
-rw-r--r--Content.hs3
1 files changed, 1 insertions, 2 deletions
diff --git a/Content.hs b/Content.hs
index 9040383be..0758fcdb1 100644
--- a/Content.hs
+++ b/Content.hs
@@ -72,8 +72,7 @@ calcGitLink file key = do
- updated instead. -}
logStatus :: Key -> LogStatus -> Annex ()
logStatus key status = do
- g <- Annex.gitRepo
- u <- getUUID g
+ u <- getUUID =<< Annex.gitRepo
logStatusFor u key status
{- Updates the LocationLog when a key's presence changes in a repository