[PR #10873] fix(shell): derive Git Bash path from git.exe directory on Windows #13588

Open
opened 2026-02-16 18:18:26 -05:00 by yindo · 0 comments
Owner

Original Pull Request: https://github.com/anomalyco/opencode/pull/10873

State: open
Merged: No


Fixes #10871

What does this PR do?

Fixes Windows Git Bash auto-detection by deriving bash.exe from path.dirname(git) instead of treating git.exe as a directory.

How did you verify your code works?

  • bun run --cwd packages/opencode typecheck
**Original Pull Request:** https://github.com/anomalyco/opencode/pull/10873 **State:** open **Merged:** No --- Fixes #10871 ### What does this PR do? Fixes Windows Git Bash auto-detection by deriving `bash.exe` from `path.dirname(git)` instead of treating `git.exe` as a directory. ### How did you verify your code works? - `bun run --cwd packages/opencode typecheck`
yindo added the pull-request label 2026-02-16 18:18:26 -05:00
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: anomalyco/opencode#13588