add: no need to make pass for old unlocked files in v6

This commit is contained in:
Joey Hess 2015-12-15 14:02:53 -04:00
parent 71e2050f8f
commit a4a813fb07
Failed to extract signature

View file

@ -33,6 +33,7 @@ import Annex.ReplaceFile
import Utility.Tmp import Utility.Tmp
import Utility.CopyFile import Utility.CopyFile
import Annex.InodeSentinal import Annex.InodeSentinal
import Annex.Version
import Control.Exception (IOException) import Control.Exception (IOException)
@ -67,7 +68,8 @@ seek o = allowConcurrentOutput $ do
go $ withFilesNotInGit (not $ includeDotFiles o) go $ withFilesNotInGit (not $ includeDotFiles o)
ifM isDirect ifM isDirect
( go withFilesMaybeModified ( go withFilesMaybeModified
, go withFilesUnlocked , unlessM versionSupportsUnlockedPointers $
go withFilesUnlocked
) )
{- Pass file off to git-add. -} {- Pass file off to git-add. -}