-
Notifications
You must be signed in to change notification settings - Fork 2.6k
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
Vscode must close fully (not just the open document) for the commit message to be accepted since 2.19.1.windows.1 #1913
Comments
For me that has been the state with older Git versions as well, not sure entirely which. To resolve I've resorted to passing " --wait --new-window" to VSCode when configuring it as the editor, causes VSCode to open a new separate window for the commit message which allows me to close it without closing my other VSCode tabs |
Is this a duplicate of #1875 or something different? |
I'm not sure if this is a duplicate. This issue refers to the commit message being accepted once the document is closed, rather than closing the whole VSCode program. #1875 refers to the commit not being accepted even when the program has been closed. |
I've resolved this for myself locally. It looks like something (I'm assuming the Git installer) has updated my .gitconfig file to contain:
Whereas previously, in my .gitconfig file that I have version controlled, it was set to:
Changing it back to the previous value of Either the Git installer can change to set the Thanks. |
Yes, it looks like you chose the |
Setup
64
Windows 10 64 bit
defaults?
to the issue you're seeing?
Details
Run in Git bash using ConEmu. Issue also happens in the git bash terminal when opened from the start menu.
Minimal, Complete, and Verifiable example
this will help us understand the issue.
Expected commit message to be accepted when the commit message document was saved/closed.
Git continued to wait for VSCode to be closed fully - previous version of Git did not require this.
URL to that repository to help us with testing?
Unrelated to a specific repository.
The text was updated successfully, but these errors were encountered: