summaryrefslogtreecommitdiff
path: root/Command/Move.hs
diff options
context:
space:
mode:
authorGravatar Joey Hess <joey@kitenet.net>2010-11-10 14:15:21 -0400
committerGravatar Joey Hess <joey@kitenet.net>2010-11-10 14:15:21 -0400
commitfb824f7eb03c10301ad897d9e1eeb0aa40492a3d (patch)
treeeaf3ddfc0ba7932f8f2e79be315e11fed191818e /Command/Move.hs
parentf5f472e8550ae438b1dc751a18cccf0efbaccd1d (diff)
use -- before filenames when running git add, git rm, etc
Diffstat (limited to 'Command/Move.hs')
-rw-r--r--Command/Move.hs4
1 files changed, 2 insertions, 2 deletions
diff --git a/Command/Move.hs b/Command/Move.hs
index 6ca923a31..e0b079193 100644
--- a/Command/Move.hs
+++ b/Command/Move.hs
@@ -85,7 +85,7 @@ moveToCleanup remote key tmpfile = do
g <- Annex.gitRepo
remoteuuid <- getUUID remote
logfile <- liftIO $ logChange g key remoteuuid ValuePresent
- Annex.queue "add" [] logfile
+ Annex.queue "add" ["--"] logfile
-- Cleanup on the local side is the same as done for the
-- drop subcommand.
Command.Drop.cleanup key
@@ -128,5 +128,5 @@ moveFromCleanup remote key = do
remoteuuid <- getUUID remote
g <- Annex.gitRepo
logfile <- liftIO $ logChange g key remoteuuid ValueMissing
- Annex.queue "add" [] logfile
+ Annex.queue "add" ["--"] logfile
return ok