-
Notifications
You must be signed in to change notification settings - Fork 30.8k
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
Allow to use --wait with Code.exe #60192
Comments
@rebornix did you configure the git editor to use |
I showed it to @Tyriar and my git config uses |
I tried |
Came here from #60294. I solved the problem by changing
to
or simply
|
This needs to be fixed by the Git installer which seems to set up Found this: git-for-windows/git#1875 |
For the particular error @joaomoreno mentioned above, when we open a vscode instance first and then run Creating a new waitMarkerFile if it doesn't exist in this case can fix it. But if we close all VSCode windows, and then run |
I fixed the NPE. I will convert this to be a feature request. I never intended this to fully work with One thing that always annoyed me when using |
Thanks! Verified the NPE is fixed. We just have to hook up the right parts in the main process now. Yeah, that is annoying, tho I think it's more of a cmd.exe issue. You can avoid it and simulate what git does by appending |
@bpasero Note that a lot of new users are hitting git-for-windows/git#1875 right now. You can easily get it by (1) installing VS Code and (2) installing Git and choose VS Code as the default editor. For that reason, we probably want to get this done. It might be a simple matter of refactoring the code out of the CLI and be able to use it from the CLI and the main process, right? |
@joaomoreno please review/test 4252e67 that addresses part of this issue for the case where Code is running and you start it with |
Verified all scenarios:
Build tested: https://az764295.vo.msecnd.net/insider/e34c00f63eaca1c438120d8fb37cb0c3d67e38e2/VSCode-win32-x64-1.29.0-insider.zip
It is useful, since the user usually closes the tab/editor right after editing, which will shutdown Code. The only case which doesn't work is if the user opens a new file/tab before closing the original file. This is OK for now, let's just wait for that issue to pop up in the real world. @bpasero Great job, thanks! |
@joaomoreno thanks for verifying. |
Steps to Reproduce:
Good path:
git rebase
orgit cherry-pick
which contains conflicts.--continue
flag.bad one:
Does this issue occur when all extensions are disabled?: Yes/No
The text was updated successfully, but these errors were encountered: