Commit 2239445
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 fc916b4 commit 2239445
1 file changed
+9
-0
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
4102 | 4102 | | |
4103 | 4103 | | |
4104 | 4104 | | |
| 4105 | + | |
4105 | 4106 | | |
| 4107 | + | |
| 4108 | + | |
| 4109 | + | |
| 4110 | + | |
| 4111 | + | |
| 4112 | + | |
4106 | 4113 | | |
4107 | 4114 | | |
4108 | 4115 | | |
| |||
4139 | 4146 | | |
4140 | 4147 | | |
4141 | 4148 | | |
| 4149 | + | |
| 4150 | + | |
4142 | 4151 | | |
4143 | 4152 | | |
4144 | 4153 | | |
| |||
0 commit comments