* fix(#1931): do not execute git status in git ignored directories * fix(#1931): reload.refresh_node is always asynchronous * fix(#2327): set parent folder ignore status following file update
This commit is contained in:
parent
273c1700eb
commit
c1466f991a
@ -111,7 +111,7 @@ function M.get_git_status(node)
|
||||
end
|
||||
|
||||
function M.is_git_ignored(node)
|
||||
return node.git_status and node.git_status.file == "!!"
|
||||
return node and node.git_status and node.git_status.file == "!!"
|
||||
end
|
||||
|
||||
function M.node_destroy(node)
|
||||
|
||||
@ -30,7 +30,7 @@ end
|
||||
|
||||
local function update_parent_statuses(node, project, root)
|
||||
while project and node and node.absolute_path ~= root do
|
||||
explorer_node.update_git_status(node, false, project)
|
||||
explorer_node.update_git_status(node, explorer_node.is_git_ignored(node.parent), project)
|
||||
node = node.parent
|
||||
end
|
||||
end
|
||||
|
||||
Loading…
Reference in New Issue
Block a user