Skip to content

Commit

Permalink
fix dir git status regression
Browse files Browse the repository at this point in the history
  • Loading branch information
alex-courtis committed Sep 23, 2024
1 parent 1c7dcb2 commit b3df650
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions lua/nvim-tree/node/init.lua
Original file line number Diff line number Diff line change
Expand Up @@ -48,7 +48,7 @@ end
function BaseNode:update_git_status(parent_ignored, status)
local get_status
if self.nodes then
get_status = git.git_status_file
get_status = git.git_status_dir
else
get_status = git.git_status_file
end
Expand All @@ -62,7 +62,6 @@ function BaseNode:update_git_status(parent_ignored, status)
end
end

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

0 comments on commit b3df650

Please sign in to comment.