]> git.ipfire.org Git - thirdparty/git.git/commit
replay: drop rev-list formatting options from manual
authorD. Ben Knoble <ben.knoble+github@gmail.com>
Tue, 20 Jan 2026 14:05:57 +0000 (09:05 -0500)
committerJunio C Hamano <gitster@pobox.com>
Tue, 20 Jan 2026 17:38:56 +0000 (09:38 -0800)
commitad228c24df15e96f98737a9751a455e278b62fcb
tree83d32a9a08c09af162a9a10cb11432846329d5b3
parentb5c409c40f1595e3e590760c6f14a16b6683e22c
replay: drop rev-list formatting options from manual

The rev-list options in our manuals are quite long; git-replay's manual
is no exception. Since replay doesn't use the formatting options at all
(it has its own output format), drop them.

This is the first time we have needed compound tests [1] for if[n]def in
our documentation:

    git grep '^ifn\?def::' Documentation | grep '[,+]'

[1]: https://docs.asciidoctor.org/asciidoc/latest/directives/ifdef-ifndef/

For both ifdef and ifndef, the "," takes on the intuitive meaning:
- ifdef: if any of the listed attributes are set…
- ifndef: unless any of the listed attributes are set

(Use "+" for "all".)

Signed-off-by: D. Ben Knoble <ben.knoble+github@gmail.com>
Signed-off-by: Junio C Hamano <gitster@pobox.com>
Documentation/git-replay.adoc
Documentation/rev-list-options.adoc