Commit d24b4b8
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 0df1d39 commit d24b4b8
1 file changed
+9
-0
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
4061 | 4061 | | |
4062 | 4062 | | |
4063 | 4063 | | |
| 4064 | + | |
4064 | 4065 | | |
| 4066 | + | |
| 4067 | + | |
| 4068 | + | |
| 4069 | + | |
| 4070 | + | |
| 4071 | + | |
4065 | 4072 | | |
4066 | 4073 | | |
4067 | 4074 | | |
| |||
4098 | 4105 | | |
4099 | 4106 | | |
4100 | 4107 | | |
| 4108 | + | |
| 4109 | + | |
4101 | 4110 | | |
4102 | 4111 | | |
4103 | 4112 | | |
| |||
0 commit comments