Skip to content

fix: improve Windows Git Bash detection#55

Merged
qorzj merged 2 commits into
lessweb:mainfrom
yuefengw:fix/windows-git-bash-detection
May 13, 2026
Merged

fix: improve Windows Git Bash detection#55
qorzj merged 2 commits into
lessweb:mainfrom
yuefengw:fix/windows-git-bash-detection

Conversation

@yuefengw
Copy link
Copy Markdown

Closes #38

This improves Git Bash detection on Windows by checking bash.exe directly, common Git for Windows install paths, git --exec-path, and git.exe-derived paths.

It also adds regression coverage for detecting Git Bash from PATH, git exec path, and git.exe candidates.

@qorzj qorzj merged commit 0c24248 into lessweb:main May 13, 2026
@qorzj
Copy link
Copy Markdown
Collaborator

qorzj commented May 13, 2026

感谢贡献。在DeepSeek的建议下附加了一个改动:在 findAllWindowsExecutableCandidates("bash") 结果中,过滤掉 System32\bash.exe

@qorzj qorzj mentioned this pull request May 15, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

2 participants