Commit 31a7626
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 <johannes.schindelin@gmx.de>1 parent 7f006f1 commit 31a7626
1 file changed
+9
-0
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
3790 | 3790 | | |
3791 | 3791 | | |
3792 | 3792 | | |
| 3793 | + | |
3793 | 3794 | | |
| 3795 | + | |
| 3796 | + | |
| 3797 | + | |
| 3798 | + | |
| 3799 | + | |
| 3800 | + | |
3794 | 3801 | | |
3795 | 3802 | | |
3796 | 3803 | | |
| |||
3826 | 3833 | | |
3827 | 3834 | | |
3828 | 3835 | | |
| 3836 | + | |
| 3837 | + | |
3829 | 3838 | | |
3830 | 3839 | | |
3831 | 3840 | | |
| |||
0 commit comments