Fix redrawing tree when not inside git repo (#836)
This commit is contained in:
@@ -221,8 +221,8 @@ function M.set_index_and_redraw(fname)
|
|||||||
git.load_project_status(node.absolute_path, function(status)
|
git.load_project_status(node.absolute_path, function(status)
|
||||||
if status.dirs or status.files then
|
if status.dirs or status.files then
|
||||||
reload_node_status(node, git.projects)
|
reload_node_status(node, git.projects)
|
||||||
M.redraw()
|
|
||||||
end
|
end
|
||||||
|
M.redraw()
|
||||||
end)
|
end)
|
||||||
end
|
end
|
||||||
if node.open == false then
|
if node.open == false then
|
||||||
|
|||||||
Reference in New Issue
Block a user