You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
Commit f55797b
Browse filesBrowse the repository at this point in the historyBrowse files
This follows up on #2464.
Visible-console parenting currently lives inside the MSAL adapter, so
_other_ in-process authentication dialogs remain unparented unless
`GCM_MODAL_PARENTHWND` is supplied. Those prompts can appear
disconnected from the terminal that initiated the Git operation.
This PR moves console-parent discovery into a shared platform helper and
uses it in the authentication and UI-helper parent handle lookups. This
extends the fallback beyond MSAL while keeping the two lookup paths
consistent. MSAL retains responsibility for creating a progress window
when broker authentication requires a parent and no usable handle was
resolved.
Explicit HWNDs still take precedence and are not visibility-filtered.
Automatically discovered owners must be visible, with visibility checked
after resolving the console's root owner to accommodate ConPTY
compatibility windows.
Update the environment variable documentation to describe the fallback
to the console-parent window.
Tested behaviour on Windows Terminal, conhost.exe (classic terminal
host), and Git Bash/MSYS2's terminal.
0 commit comments