summaryrefslogtreecommitdiff
path: root/Annex/Queue.hs
diff options
context:
space:
mode:
authorGravatar Joey Hess <joey@kitenet.net>2012-06-14 00:01:48 -0400
committerGravatar Joey Hess <joey@kitenet.net>2012-06-14 00:01:48 -0400
commite0095b0bdc88147a081f3539975f20096fd0ea3c (patch)
treefff3ef6f2684ccbb6d8b2b2d988c20bcba5ffca6 /Annex/Queue.hs
parent89dad12b3510f2540c6678e68145d922c7db5a7b (diff)
fishy commit
Diffstat (limited to 'Annex/Queue.hs')
-rw-r--r--Annex/Queue.hs4
1 files changed, 2 insertions, 2 deletions
diff --git a/Annex/Queue.hs b/Annex/Queue.hs
index c019aed6c..97a759d10 100644
--- a/Annex/Queue.hs
+++ b/Annex/Queue.hs
@@ -23,13 +23,13 @@ import Config
addCommand :: String -> [CommandParam] -> [FilePath] -> Annex ()
addCommand command params files = do
q <- get
- store =<< inRepo (Git.Queue.addCommand command params files q)
+ store <=< inRepo $ Git.Queue.addCommand command params files q
{- Adds an update-index stream to the queue. -}
addUpdateIndex :: Git.UpdateIndex.Streamer -> Annex ()
addUpdateIndex streamer = do
q <- get
- store =<< inRepo (Git.Queue.addUpdateIndex streamer q)
+ store <=< inRepo $ Git.Queue.addUpdateIndex streamer q
{- Runs the queue if it is full. Should be called periodically. -}
flushWhenFull :: Annex ()