diff options
Diffstat (limited to 'Command/Add.hs')
-rw-r--r-- | Command/Add.hs | 5 |
1 files changed, 2 insertions, 3 deletions
diff --git a/Command/Add.hs b/Command/Add.hs index a0bcf789e..8cbaf189a 100644 --- a/Command/Add.hs +++ b/Command/Add.hs @@ -66,10 +66,9 @@ seek o = allowConcurrentOutput $ do , startSmall file ) go $ withFilesNotInGit (not $ includeDotFiles o) - ifM isDirect + ifM (versionSupportsUnlockedPointers <||> isDirect) ( go withFilesMaybeModified - , unlessM versionSupportsUnlockedPointers $ - go withFilesOldUnlocked + , go withFilesOldUnlocked ) {- Pass file off to git-add. -} |