-
Notifications
You must be signed in to change notification settings - Fork 37.8k
Closed as not planned
Labels
feature-requestRequest for new features or functionalityRequest for new features or functionalitygitGIT issuesGIT issues
Milestone
Description
Does this issue occur when all extensions are disabled?: Yes
- VS Code Version: 1.69.0-insider (user setup)
- OS Version: Windows 11 Pro 22000
Steps to Reproduce:
- Type
$Env:GIT_EDITORin vscode powershell terminal. - Notice that result is something like
"c:\Users\wookie184\AppData\Local\Programs\Microsoft VS Code Insiders\resources\app\extensions\git\dist\git-editor.sh". AFAICT.shfiles are not valid executables on windows so this doesn't make much sense.
This causes issues when running external tools (e.g. https://pypi.org/project/blurb/) which try and use GIT_EDITOR themselves. This can be avoided by disabling VSCode as your git editor ("git.useEditorAsCommitInput": false) but it would be nice to not have to do this.
I'll create an issue in blurb as well but I think it would be much better if it could be fixed here if possible as I'd guess there are many other tools that use GIT_EDITOR. (I don't think blurb could do much more than using a fallback if the env variable fails).
Thanks!
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
feature-requestRequest for new features or functionalityRequest for new features or functionalitygitGIT issuesGIT issues