diff options
author | Joey Hess <joey@kitenet.net> | 2012-06-07 15:19:44 -0400 |
---|---|---|
committer | Joey Hess <joey@kitenet.net> | 2012-06-07 15:19:44 -0400 |
commit | 0a11b35d89104fa0b9653f15963d273a0d3585c3 (patch) | |
tree | f09621e0443bb526975543299adf1aefb64b47ef /Command/Lock.hs | |
parent | 727158ff5546233e6f6b8bd8543c9514e3bd7af6 (diff) |
extend Git.Queue to be able to queue more than simple git commands
While I was in there, I noticed and fixed a bug in the queue size
calculations. It was never encountered only because Queue.add was
only ever run with 1 file in the list.
Diffstat (limited to 'Command/Lock.hs')
-rw-r--r-- | Command/Lock.hs | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/Command/Lock.hs b/Command/Lock.hs index ab97b14bc..8aadf3f59 100644 --- a/Command/Lock.hs +++ b/Command/Lock.hs @@ -24,5 +24,5 @@ start file = do perform :: FilePath -> CommandPerform perform file = do - Annex.Queue.add "checkout" [Param "--"] [file] + Annex.Queue.addCommand "checkout" [Param "--"] [file] next $ return True -- no cleanup needed |