aboutsummaryrefslogtreecommitdiff
path: root/Core.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 /Core.hs
parentf5f472e8550ae438b1dc751a18cccf0efbaccd1d (diff)
use -- before filenames when running git add, git rm, etc
Diffstat (limited to 'Core.hs')
-rw-r--r--Core.hs4
1 files changed, 2 insertions, 2 deletions
diff --git a/Core.hs b/Core.hs
index f9c9417bd..8497a7f36 100644
--- a/Core.hs
+++ b/Core.hs
@@ -131,7 +131,7 @@ logStatus key status = do
g <- Annex.gitRepo
u <- getUUID g
logfile <- liftIO $ logChange g key u status
- Annex.queue "add" [] logfile
+ Annex.queue "add" ["--"] logfile
{- Runs an action, passing it a temporary filename to download,
- and if the action succeeds, moves the temp file into
@@ -261,5 +261,5 @@ upgradeFrom0 = do
link <- calcGitLink f k
liftIO $ removeFile f
liftIO $ createSymbolicLink link f
- Annex.queue "add" [] f
+ Annex.queue "add" ["--"] f
fixlinks fs