Commit cb4dab6
committed
Do not show empty split for
Git for Windows shows help for its subcommands in a browser by default;
so `Git help rebase`, for example, brings up empty split.
Git for MinGW behaves the same way.
If Git configuration option `help.format` is defined, it takes
precedence over default behavior.
This commit covers notable exceptions to that: `git help`, `git -h`,
`git help -a`, `git help -g`, `git help --man` and `git --help`.
Also, `git <cmd> -h` and `git <cmd> --help` behave differently.Git help <cmd> on Windows1 parent 61b51c0 commit cb4dab6
1 file changed
+20
-2
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
3759 | 3759 | | |
3760 | 3760 | | |
3761 | 3761 | | |
| 3762 | + | |
3762 | 3763 | | |
3763 | 3764 | | |
3764 | | - | |
| 3765 | + | |
| 3766 | + | |
| 3767 | + | |
3765 | 3768 | | |
| 3769 | + | |
| 3770 | + | |
| 3771 | + | |
| 3772 | + | |
| 3773 | + | |
| 3774 | + | |
| 3775 | + | |
| 3776 | + | |
| 3777 | + | |
| 3778 | + | |
| 3779 | + | |
| 3780 | + | |
| 3781 | + | |
| 3782 | + | |
| 3783 | + | |
| 3784 | + | |
3766 | 3785 | | |
3767 | 3786 | | |
3768 | 3787 | | |
| |||
3772 | 3791 | | |
3773 | 3792 | | |
3774 | 3793 | | |
3775 | | - | |
3776 | 3794 | | |
3777 | 3795 | | |
3778 | 3796 | | |
| |||
0 commit comments