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
|
handleadds makeabs item
|
||||||
| DiffTree.dstsha item /= nullSha =
|
| DiffTree.dstsha item /= nullSha =
|
||||||
handlechange item addmeta
|
handlechange item addmeta
|
||||||
=<< ifM isDirect
|
=<< catKey (DiffTree.dstsha item)
|
||||||
( catKey (DiffTree.dstsha item)
|
|
||||||
-- optimisation
|
|
||||||
, isAnnexLink $ makeabs $ DiffTree.file item
|
|
||||||
)
|
|
||||||
| otherwise = noop
|
| otherwise = noop
|
||||||
handlechange item a = maybe noop
|
handlechange item a = maybe noop
|
||||||
(void . commandAction . a (getTopFilePath $ DiffTree.file item))
|
(void . commandAction . a (getTopFilePath $ DiffTree.file item))
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue