Commit 640ade4
mingw: really handle SIGINT
Previously, we did not install any handler for Ctrl+C, but now we really
want to because the MSYS2 runtime learned the trick to call the
ConsoleCtrlHandler when Ctrl+C was pressed.
With this, hitting Ctrl+C while `git log` is running will only terminate
the Git process, but not the pager. This finally matches the behavior on
Linux and on macOS.
Signed-off-by: Johannes Schindelin <[email protected]>1 parent 12e26b1 commit 640ade4
1 file changed
+9
-0
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
4110 | 4110 | | |
4111 | 4111 | | |
4112 | 4112 | | |
| 4113 | + | |
4113 | 4114 | | |
| 4115 | + | |
| 4116 | + | |
| 4117 | + | |
| 4118 | + | |
| 4119 | + | |
| 4120 | + | |
4114 | 4121 | | |
4115 | 4122 | | |
4116 | 4123 | | |
| |||
4147 | 4154 | | |
4148 | 4155 | | |
4149 | 4156 | | |
| 4157 | + | |
| 4158 | + | |
4150 | 4159 | | |
4151 | 4160 | | |
4152 | 4161 | | |
| |||
0 commit comments