Commit 57d30df
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 50faf98 commit 57d30df
1 file changed
+9
-0
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
2886 | 2886 | | |
2887 | 2887 | | |
2888 | 2888 | | |
| 2889 | + | |
2889 | 2890 | | |
| 2891 | + | |
| 2892 | + | |
| 2893 | + | |
| 2894 | + | |
| 2895 | + | |
| 2896 | + | |
2890 | 2897 | | |
2891 | 2898 | | |
2892 | 2899 | | |
| |||
2922 | 2929 | | |
2923 | 2930 | | |
2924 | 2931 | | |
| 2932 | + | |
| 2933 | + | |
2925 | 2934 | | |
2926 | 2935 | | |
2927 | 2936 | | |
| |||
0 commit comments