Fix redrawing tree when not inside git repo (#836)

This commit is contained in:
Sergey Kuznetsov
2021-12-12 14:25:15 +03:00
committed by GitHub
parent 2e33b16543
commit fd87c240df

View File

@@ -221,8 +221,8 @@ function M.set_index_and_redraw(fname)
git.load_project_status(node.absolute_path, function(status)
if status.dirs or status.files then
reload_node_status(node, git.projects)
M.redraw()
end
M.redraw()
end)
end
if node.open == false then