summaryrefslogtreecommitdiff
path: root/Remote/Git.hs
diff options
context:
space:
mode:
Diffstat (limited to 'Remote/Git.hs')
-rw-r--r--Remote/Git.hs3
1 files changed, 2 insertions, 1 deletions
diff --git a/Remote/Git.hs b/Remote/Git.hs
index a45845510..2936beaf7 100644
--- a/Remote/Git.hs
+++ b/Remote/Git.hs
@@ -19,6 +19,7 @@ import RemoteClass
import Types
import qualified GitRepo as Git
import qualified Annex
+import qualified AnnexQueue
import Locations
import UUID
import Utility
@@ -150,7 +151,7 @@ copyToRemote r key
Annex.eval a $ do
ok <- Content.getViaTmp key $
\f -> liftIO $ copyFile keysrc f
- Annex.queueRun
+ AnnexQueue.flush True
return ok
| Git.repoIsSsh r = do
g <- Annex.gitRepo