-
-
Notifications
You must be signed in to change notification settings - Fork 580
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
core.editor is ignored #414
Comments
all of it. Except the referenced call to get user.name and user.email (fix for bug to do withuser.name not set ) i didnt want to roll to much into on PR. There is another PR that really isnt needed either, was created by back and forht over this one but it is resvolved here #426 |
Cool thanks for that, will work my way through the PRs over the next days. I finally want to release push - call defeat on pull for now. it is just too complex right now and the unreleased version grows out of proportion |
git goes through the following sequence to find the external editor
Currently gitui does not look at core.editor. vscode sets this value when you install the git extension for it so this is a very common situation. I expect other cases set it too.
During investigating this I found 2 other issues
vscode set my core.editor to
core.editor="C:\Users\paulm\AppData\Local\Programs\Microsoft VS Code\Code.exe" --wait
This doesnt work once I fixed the config lookup.
The code hints that this would not work.
I think the other calls to config.get_str need to be changed too. I certainly confirmed that get_str on code.editor was silently failing with the error indicated in the git2 bug. I expect that others will silently fail too.
The text was updated successfully, but these errors were encountered: