start one git-cat-file per index file
This reverts 1c83b6c439
and properly fixes
the issue discussed there.
This makes git-annex behave much nicer in direct mode.
This commit is contained in:
parent
bc628adca0
commit
c62b54d80d
3 changed files with 21 additions and 11 deletions
4
Annex.hs
4
Annex.hs
|
@ -103,7 +103,7 @@ data AnnexState = AnnexState
|
|||
, auto :: Bool
|
||||
, branchstate :: BranchState
|
||||
, repoqueue :: Maybe Git.Queue.Queue
|
||||
, catfilehandle :: Maybe CatFileHandle
|
||||
, catfilehandles :: M.Map FilePath CatFileHandle
|
||||
, checkattrhandle :: Maybe CheckAttrHandle
|
||||
, forcebackend :: Maybe String
|
||||
, limit :: Matcher (FileInfo -> Annex Bool)
|
||||
|
@ -133,7 +133,7 @@ newState gitrepo = AnnexState
|
|||
, auto = False
|
||||
, branchstate = startBranchState
|
||||
, repoqueue = Nothing
|
||||
, catfilehandle = Nothing
|
||||
, catfilehandles = M.empty
|
||||
, checkattrhandle = Nothing
|
||||
, forcebackend = Nothing
|
||||
, limit = Left []
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue