diff options
author | Ævar Arnfjörð Bjarmason <avarab@gmail.com> | 2022-02-21 22:38:46 +0300 |
---|---|---|
committer | Junio C Hamano <gitster@pobox.com> | 2022-02-24 00:41:36 +0300 |
commit | bf7eed75b90756c960da4828476b669a358df05b (patch) | |
tree | 0556f5e0405de6e9dd626184827ad3d11b700968 /help.c | |
parent | cd87ce7d0def6b6efeb1ae688bde217a0a47c9eb (diff) |
help tests: test "git" and "git help [-a|-g] spacing
There's logic in "help.c"'s "print_cmd_by_category()" to emit "help"
output with particular spacing, which doesn't make much sense when
emitting only one section with "help -g".
Let's add tests for the current spacing in preparation for a
subsequent whitespace formatting fix, and make sure that that fix
doesn't cause regressions for the "git" and "git help" output.
Signed-off-by: Ævar Arnfjörð Bjarmason <avarab@gmail.com>
Signed-off-by: Junio C Hamano <gitster@pobox.com>
Diffstat (limited to 'help.c')
0 files changed, 0 insertions, 0 deletions