summaryrefslogtreecommitdiff
path: root/Command.hs
diff options
context:
space:
mode:
authorGravatar Joey Hess <joey@kitenet.net>2011-06-29 11:42:35 -0400
committerGravatar Joey Hess <joey@kitenet.net>2011-06-29 11:42:35 -0400
commitaf45d422248846869babdbc3eae2765d94ea9f20 (patch)
tree6f1bea8cc19dedcd8ca40c046718f7f96e7454f8 /Command.hs
parent5034d8c2985dafeb141bba383ab70d75729b3cb6 (diff)
parentb3aaf980e460c2287fc1ef2b262685b1879e6ed0 (diff)
Merge branch 'master' into v3
Conflicts: debian/changelog
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