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
fixup! mingw: kill unterminated child processes on signals
This reverts the change where we tried to make sure that child processes
are killed upon exit of the git.exe process.
This change was misguided: it wanted to pretend that each process was
responsible to signal its child processes upon receiving a signal. But
it is the responsibility of the syscall `signal()` (or in the case of
Windows, either MSYS2's signal() or whoever wanted to terminate the
git.exe process) to take care of the child processes.
We just changed the MSYS2 runtime accordingly, in the hope that this
addresses the Ctrl+C problems (stale .git/index.lock files, runaway
git-remote-https when interrupting a clone, killed pager when hitting
Ctrl+C in `git log`, interrupting node.js processes that listen to
SIGINT, C# programs installing a ConsoleCtrlHandler, etc) once and for
all.
This commit is part of the fix, as pressing Ctrl+C while `git log` is
running would kill the pager otherwise (it is a child process of git.exe
after all).
Signed-off-by: Johannes Schindelin <[email protected]>
0 commit comments