]> git.ipfire.org Git - thirdparty/git.git/commit - builtin/stash.c
doc txt & -h consistency: make "stash" consistent
authorÆvar Arnfjörð Bjarmason <avarab@gmail.com>
Thu, 13 Oct 2022 15:39:19 +0000 (17:39 +0200)
committerJunio C Hamano <gitster@pobox.com>
Thu, 13 Oct 2022 16:32:57 +0000 (09:32 -0700)
commit951ec747d47e70c40625f2d37173584db4a0e13e
treeae7275222ad1feec21e07257d15cac09f05f77ca
parentd9054a19ed2656007a4ed198f1f07a00da9e7103
doc txt & -h consistency: make "stash" consistent

Amend both the -h output and *.txt to match one another. In this case
the *.txt didn't list the "save" subcommand, and the "-h" was
similarly missing some commands.

Let's also convert the *.c code to use a macro definition, similar to
that used in preceding commits. This avoids duplication.

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