Commit ebbf585
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 3b11628 commit ebbf585
1 file changed
+9
-0
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
3721 | 3721 | | |
3722 | 3722 | | |
3723 | 3723 | | |
| 3724 | + | |
3724 | 3725 | | |
| 3726 | + | |
| 3727 | + | |
| 3728 | + | |
| 3729 | + | |
| 3730 | + | |
| 3731 | + | |
3725 | 3732 | | |
3726 | 3733 | | |
3727 | 3734 | | |
| |||
3757 | 3764 | | |
3758 | 3765 | | |
3759 | 3766 | | |
| 3767 | + | |
| 3768 | + | |
3760 | 3769 | | |
3761 | 3770 | | |
3762 | 3771 | | |
| |||
0 commit comments