Weird interaction with git add -p and Notepad++ (git hangs) #16553
Labels
Issue-Bug
It either shouldn't be doing this or needs an investigation.
Needs-Attention
The core contributors need to come back around and look at this ASAP.
Needs-Triage
It's a new issue that the core contributor team needs to triage at the next triage meeting
Windows Terminal version
1.18.3181.0
Windows build number
10.0.19044.3803
10.0.22621.2861
Other Software
Git (both versions 2.42.0.windows.2 and 2.43.0.windows.1)
Notepad++ (version 8.6)
Steps to reproduce
GIT_EDITOR='"C:\Program Files\Notepad++\notepad++.exe" -multiInst -notabbar -nosession -noPlugin' git add -p
to interactively stage parts of the fileThe same issue happens with
git add -i
instead ofgit add -p
, but requires more steps between steps 4/5.The issue does not happen if any of the following are true:
Expected Behavior
Step 9 above would echo the character you typed, and git would not get stuck.
Actual Behavior
The character(s) you type are not echoed, nothing happens even after also pressing Enter, and even Ctrl+C will not interrupt git.
If you kill the git process with Task Manager, you do come back to a seemingly-working terminal.
The text was updated successfully, but these errors were encountered: