Skip to content

fix(git.lua): git_status not working on Windows#416

Open
Koalhack wants to merge 1 commit into
nvim-telescope:masterfrom
Koalhack:master
Open

fix(git.lua): git_status not working on Windows#416
Koalhack wants to merge 1 commit into
nvim-telescope:masterfrom
Koalhack:master

Conversation

@Koalhack

@Koalhack Koalhack commented May 30, 2025

Copy link
Copy Markdown
  • Git status display does not work on windows system

In the mt.__index function in the make_entry.lua file t.value returns a windows-compatible path

“F:Code\05-other\nvim\min.lua”

while the array created with the parse_status_output function returns array keys of the following form

{
  [“F:Code/05-other/nvim\\.repro/”] = “??”,
  [“F:Code/05-other/nvim\\min.lua”] = “??”
}

What causes the problem

I propose this modification to solve the problem.

I hope I've been able to help and thank you for reading.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant