use -- before filenames when running git add, git rm, etc

This commit is contained in:
Joey Hess 2010-11-10 14:15:21 -04:00
parent f5f472e855
commit fb824f7eb0
6 changed files with 8 additions and 8 deletions

View file

@ -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