support v6 unlocked files
This optimisation was not necessary, and didn't work for v6 unlocked files. Typically only a small number of files will be changed by a commit, so just catKey them all.
This commit is contained in:
parent
0fe43d7f8e
commit
289a3592c3
1 changed files with 1 additions and 5 deletions
|
@ -399,11 +399,7 @@ withViewChanges addmeta removemeta = do
|
|||
handleadds makeabs item
|
||||
| DiffTree.dstsha item /= nullSha =
|
||||
handlechange item addmeta
|
||||
=<< ifM isDirect
|
||||
( catKey (DiffTree.dstsha item)
|
||||
-- optimisation
|
||||
, isAnnexLink $ makeabs $ DiffTree.file item
|
||||
)
|
||||
=<< catKey (DiffTree.dstsha item)
|
||||
| otherwise = noop
|
||||
handlechange item a = maybe noop
|
||||
(void . commandAction . a (getTopFilePath $ DiffTree.file item))
|
||||
|
|
Loading…
Add table
Reference in a new issue