summaryrefslogtreecommitdiff
path: root/Command/Uninit.hs
diff options
context:
space:
mode:
Diffstat (limited to 'Command/Uninit.hs')
-rw-r--r--Command/Uninit.hs5
1 files changed, 3 insertions, 2 deletions
diff --git a/Command/Uninit.hs b/Command/Uninit.hs
index af628d7a9..0445201fa 100644
--- a/Command/Uninit.hs
+++ b/Command/Uninit.hs
@@ -40,9 +40,10 @@ check = do
seek :: CmdParams -> CommandSeek
seek ps = do
- withFilesNotInGit False (whenAnnexed startCheckIncomplete) ps
+ l <- workTreeItems ps
+ withFilesNotInGit False (whenAnnexed startCheckIncomplete) l
Annex.changeState $ \s -> s { Annex.fast = True }
- withFilesInGit (whenAnnexed Command.Unannex.start) ps
+ withFilesInGit (whenAnnexed Command.Unannex.start) l
finish
{- git annex symlinks that are not checked into git could be left by an