]> git.ipfire.org Git - thirdparty/git.git/commit
docs: clean up `--empty` formatting in git-rebase(1) and git-am(1)
authorBrian Lyles <brianmlyles@gmail.com>
Mon, 25 Mar 2024 23:16:49 +0000 (18:16 -0500)
committerJunio C Hamano <gitster@pobox.com>
Mon, 25 Mar 2024 23:45:40 +0000 (16:45 -0700)
commit64a443efe4846d9cf09c7ff50cb9a6660fb49b50
tree47571a5796509f1d4e8fe99c31004688bc58c815
parent0af38890ade347536af7690ecee9e5e75d1b2b12
docs: clean up `--empty` formatting in git-rebase(1) and git-am(1)

Both of these pages document very similar `--empty` options, but with
different styles. The exact behavior of these `--empty` options differs
somewhat, but consistent styling in the docs is still beneficial. This
commit aims to make them more consistent.

Break the possible values for `--empty` into separate sections for
readability. Alphabetical order is chosen for consistency.

In a future commit, we'll be documenting a new `--empty` option for
git-cherry-pick(1), making the consistency even more relevant.

Signed-off-by: Brian Lyles <brianmlyles@gmail.com>
Signed-off-by: Junio C Hamano <gitster@pobox.com>
Documentation/git-am.txt
Documentation/git-rebase.txt