Commit 3e0e5dc
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 <johannes.schindelin@gmx.de>1 parent d43f2cd commit 3e0e5dc
1 file changed
Lines changed: 9 additions & 0 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
4176 | 4176 | | |
4177 | 4177 | | |
4178 | 4178 | | |
| 4179 | + | |
4179 | 4180 | | |
| 4181 | + | |
| 4182 | + | |
| 4183 | + | |
| 4184 | + | |
| 4185 | + | |
| 4186 | + | |
4180 | 4187 | | |
4181 | 4188 | | |
4182 | 4189 | | |
| |||
4213 | 4220 | | |
4214 | 4221 | | |
4215 | 4222 | | |
| 4223 | + | |
| 4224 | + | |
4216 | 4225 | | |
4217 | 4226 | | |
4218 | 4227 | | |
| |||
0 commit comments