summaryrefslogtreecommitdiff
path: root/Annex/View.hs
diff options
context:
space:
mode:
Diffstat (limited to 'Annex/View.hs')
-rw-r--r--Annex/View.hs6
1 files changed, 1 insertions, 5 deletions
diff --git a/Annex/View.hs b/Annex/View.hs
index 00639a2c4..35f62ec96 100644
--- a/Annex/View.hs
+++ b/Annex/View.hs
@@ -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))