summaryrefslogtreecommitdiff
path: root/Command/FromKey.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/FromKey.hs
parentf5f472e8550ae438b1dc751a18cccf0efbaccd1d (diff)
use -- before filenames when running git add, git rm, etc
Diffstat (limited to 'Command/FromKey.hs')
-rw-r--r--Command/FromKey.hs2
1 files changed, 1 insertions, 1 deletions
diff --git a/Command/FromKey.hs b/Command/FromKey.hs
index de555475c..229a93684 100644
--- a/Command/FromKey.hs
+++ b/Command/FromKey.hs
@@ -41,5 +41,5 @@ perform file key = do
return $ Just $ cleanup file
cleanup :: FilePath -> SubCmdCleanup
cleanup file = do
- Annex.queue "add" [] file
+ Annex.queue "add" ["--"] file
return True