Commit bd47e4f
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 d8d6f5e commit bd47e4f
1 file changed
+9
-0
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
3799 | 3799 | | |
3800 | 3800 | | |
3801 | 3801 | | |
| 3802 | + | |
3802 | 3803 | | |
| 3804 | + | |
| 3805 | + | |
| 3806 | + | |
| 3807 | + | |
| 3808 | + | |
| 3809 | + | |
3803 | 3810 | | |
3804 | 3811 | | |
3805 | 3812 | | |
| |||
3835 | 3842 | | |
3836 | 3843 | | |
3837 | 3844 | | |
| 3845 | + | |
| 3846 | + | |
3838 | 3847 | | |
3839 | 3848 | | |
3840 | 3849 | | |
| |||
0 commit comments