Skip to content

Commit 65e36cb

Browse files
committed
fix dir git status regression
1 parent 48be1e7 commit 65e36cb

File tree

1 file changed

+1
-2
lines changed

1 file changed

+1
-2
lines changed

lua/nvim-tree/node/init.lua

+1-2
Original file line numberDiff line numberDiff line change
@@ -48,7 +48,7 @@ end
4848
function BaseNode:update_git_status(parent_ignored, status)
4949
local get_status
5050
if self.nodes then
51-
get_status = git.git_status_file
51+
get_status = git.git_status_dir
5252
else
5353
get_status = git.git_status_file
5454
end
@@ -62,7 +62,6 @@ function BaseNode:update_git_status(parent_ignored, status)
6262
end
6363
end
6464

65-
---TODO this broke git parent status at ddc1d5f1c12847fce19a8f23d9d742b1bbf0ed31
6665
---@return GitStatus|nil
6766
function BaseNode:get_git_status()
6867
if not self.git_status then

0 commit comments

Comments
 (0)