add: no need to make pass for old unlocked files in v6
This commit is contained in:
parent
71e2050f8f
commit
a4a813fb07
1 changed files with 3 additions and 1 deletions
|
@ -33,6 +33,7 @@ import Annex.ReplaceFile
|
|||
import Utility.Tmp
|
||||
import Utility.CopyFile
|
||||
import Annex.InodeSentinal
|
||||
import Annex.Version
|
||||
|
||||
import Control.Exception (IOException)
|
||||
|
||||
|
@ -67,7 +68,8 @@ seek o = allowConcurrentOutput $ do
|
|||
go $ withFilesNotInGit (not $ includeDotFiles o)
|
||||
ifM isDirect
|
||||
( go withFilesMaybeModified
|
||||
, go withFilesUnlocked
|
||||
, unlessM versionSupportsUnlockedPointers $
|
||||
go withFilesUnlocked
|
||||
)
|
||||
|
||||
{- Pass file off to git-add. -}
|
||||
|
|
Loading…
Reference in a new issue