Commit 26539c4
committed
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 10bb07f commit 26539c4
1 file changed
+9
-0
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
3882 | 3882 | | |
3883 | 3883 | | |
3884 | 3884 | | |
| 3885 | + | |
3885 | 3886 | | |
| 3887 | + | |
| 3888 | + | |
| 3889 | + | |
| 3890 | + | |
| 3891 | + | |
| 3892 | + | |
3886 | 3893 | | |
3887 | 3894 | | |
3888 | 3895 | | |
| |||
3918 | 3925 | | |
3919 | 3926 | | |
3920 | 3927 | | |
| 3928 | + | |
| 3929 | + | |
3921 | 3930 | | |
3922 | 3931 | | |
3923 | 3932 | | |
| |||
0 commit comments