]> git.ipfire.org Git - thirdparty/git.git/commit
help: add --no-[external-commands|aliases] for use with --all
authorÆvar Arnfjörð Bjarmason <avarab@gmail.com>
Mon, 21 Feb 2022 19:38:51 +0000 (20:38 +0100)
committerJunio C Hamano <gitster@pobox.com>
Wed, 23 Feb 2022 21:41:37 +0000 (13:41 -0800)
commit1ce590133b545aa735683f46003d12df624d67af
treecc0a4a943280fe23bf58b5914b474a9048b17663
parent503cddacb63b9a37d063de5b11ac188de822e06f
help: add --no-[external-commands|aliases] for use with --all

Add the ability to only emit git's own usage information under
--all. This also allows us to extend the "test_section_spacing" tests
added in a preceding commit to test "git help --all"
output.

Previously we could not do that, as the tests might find a git-*
command in the "$PATH", which would make the output differ from one
setup to another.

Signed-off-by: Ævar Arnfjörð Bjarmason <avarab@gmail.com>
Signed-off-by: Junio C Hamano <gitster@pobox.com>
Documentation/git-help.txt
builtin/help.c
help.c
help.h
t/t0012-help.sh