diff options
Diffstat (limited to 'Annex/Content.hs')
-rw-r--r-- | Annex/Content.hs | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/Annex/Content.hs b/Annex/Content.hs index fab27d88a..e6afd5465 100644 --- a/Annex/Content.hs +++ b/Annex/Content.hs @@ -280,7 +280,7 @@ getKeysPresent :: Annex [Key] getKeysPresent = liftIO . traverse (2 :: Int) =<< fromRepo gitAnnexObjectDir where traverse depth dir = do - contents <- catchDefaultIO (dirContents dir) [] + contents <- catchDefaultIO [] (dirContents dir) if depth == 0 then continue (mapMaybe (fileKey . takeFileName) contents) [] else do |