fix(git): Fix the gitignore implementation. (#335)

This commit is contained in:
Sindre T. Strøm
2021-04-22 21:32:10 +02:00
committed by GitHub
parent 027e523431
commit c2d71046c6
4 changed files with 16 additions and 109 deletions

View File

@@ -249,7 +249,6 @@ function M.refresh_entries(entries, cwd, parent_node)
local n = e.fn(cwd, name)
if e.check(n.link_to, n.absolute_path) then
new_nodes_added = true
git.invalidate_gitignore_map(n.absolute_path)
idx = 1
if prev then
idx = entries_idx[prev] + 1