diff options
author | 2010-11-10 14:15:21 -0400 | |
---|---|---|
committer | 2010-11-10 14:15:21 -0400 | |
commit | fb824f7eb03c10301ad897d9e1eeb0aa40492a3d (patch) | |
tree | eaf3ddfc0ba7932f8f2e79be315e11fed191818e /Command/Move.hs | |
parent | f5f472e8550ae438b1dc751a18cccf0efbaccd1d (diff) |
use -- before filenames when running git add, git rm, etc
Diffstat (limited to 'Command/Move.hs')
-rw-r--r-- | Command/Move.hs | 4 |
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 |