Don't show console on Windows#1075
Conversation
When used inside GUI application, git2 causes console window to appear temporarily, due to execution of sh. Command needs special flags to prevent that. More details: https://stackoverflow.com/a/60958956
e8ec19e to
4e763c7
Compare
|
@ChrisDenton does this make sense to you? Essentially, when configuring a credential helper on Windows, the git2 library executes it (first trying with |
|
Sure. The only downside of Another option would be to merely hide any new window. But the Rust API is nightly only and on older versions of Windows it may still show a flash of the console window before it's hidden. tl;dr |
|
OK, thanks! I'll go ahead and merge, and if we have any issues, we can revisit. |
When used inside GUI application, git2 causes console window to appear temporarily, due to execution of sh.
Command needs special flags to prevent that. More details: https://stackoverflow.com/a/60958956
(For context - similar change in gitoxide: GitoxideLabs/gitoxide#1506)