summaryrefslogtreecommitdiff
path: root/Command.hs
diff options
context:
space:
mode:
Diffstat (limited to 'Command.hs')
-rw-r--r--Command.hs3
1 files changed, 2 insertions, 1 deletions
diff --git a/Command.hs b/Command.hs
index 129233d74..a8cc6a132 100644
--- a/Command.hs
+++ b/Command.hs
@@ -142,7 +142,8 @@ withFilesMissing a params = do
withFilesNotInGit :: CommandSeekBackendFiles
withFilesNotInGit a params = do
repo <- Annex.gitRepo
- newfiles <- liftIO $ runPreserveOrder (Git.notInRepo repo) params
+ force <- Annex.getState Annex.force
+ newfiles <- liftIO $ runPreserveOrder (Git.notInRepo repo force) params
newfiles' <- filterFiles newfiles
backendPairs a newfiles'
withWords :: CommandSeekWords