diff options
Diffstat (limited to 'Command.hs')
-rw-r--r-- | Command.hs | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/Command.hs b/Command.hs index 228c1f40e..ee81bd0f6 100644 --- a/Command.hs +++ b/Command.hs @@ -143,7 +143,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 |