[GH-ISSUE #83] Ensure VS Code (and other IDEs) pick up git-ai-wrapped git after installation on Windows #33

Closed
opened 2026-03-02 04:11:21 +03:00 by kerem · 1 comment
Owner

Originally created by @svarlamov on GitHub (Oct 6, 2025).
Original GitHub issue: https://github.com/git-ai-project/git-ai/issues/83

Currently, it doesn't seem like VS Code and other IDEs pick up the git-ai-wrapped git binary the same way that they do on macos and linux.

Originally created by @svarlamov on GitHub (Oct 6, 2025). Original GitHub issue: https://github.com/git-ai-project/git-ai/issues/83 Currently, it doesn't seem like VS Code and other IDEs pick up the git-ai-wrapped git binary the same way that they do on macos and linux.
kerem 2026-03-02 04:11:21 +03:00
Author
Owner

@svarlamov commented on GitHub (Oct 22, 2025):

github.com/microsoft/vscode@c5b279beca/extensions/git/src/git.ts (L147)

VS Code doesn't respect actually respect the Path env var on Windows for locating git. It first looks in common paths before checking if it can find git.exe in the Path env var.

We will have to add a step to install-hooks to patch (while preserving comments and structure) of the settings.json for VSC/Cursor

Probably also part of #120

<!-- gh-comment-id:3434128592 --> @svarlamov commented on GitHub (Oct 22, 2025): https://github.com/microsoft/vscode/blob/c5b279beca157c653e2d239e56cb5ca0194a69f6/extensions/git/src/git.ts#L147 VS Code doesn't respect actually respect the `Path` env var on Windows for locating git. It first looks in common paths before checking if it can find `git.exe` in the `Path` env var. We will have to add a step to `install-hooks` to patch (while preserving comments and structure) of the `settings.json` for VSC/Cursor Probably also part of #120
Sign in to join this conversation.
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference
starred/git-ai#33
No description provided.