Commit 202032d
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 e645d66 commit 202032d
1 file changed
+9
-0
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
3594 | 3594 | | |
3595 | 3595 | | |
3596 | 3596 | | |
| 3597 | + | |
3597 | 3598 | | |
| 3599 | + | |
| 3600 | + | |
| 3601 | + | |
| 3602 | + | |
| 3603 | + | |
| 3604 | + | |
3598 | 3605 | | |
3599 | 3606 | | |
3600 | 3607 | | |
| |||
3630 | 3637 | | |
3631 | 3638 | | |
3632 | 3639 | | |
| 3640 | + | |
| 3641 | + | |
3633 | 3642 | | |
3634 | 3643 | | |
3635 | 3644 | | |
| |||
0 commit comments