]> git.ipfire.org Git - thirdparty/git.git/commit
doc: factor out common option
authorMeet Soni <meetsoni3017@gmail.com>
Tue, 5 Aug 2025 09:27:53 +0000 (14:57 +0530)
committerJunio C Hamano <gitster@pobox.com>
Tue, 5 Aug 2025 16:11:54 +0000 (09:11 -0700)
commit19623eb97e4edf76d585100c605037f9e51f6987
tree76e4cddd19c863680a83d34b5553c10b66bbe193
parent721c9e5ce7c6fa4e1a33490f5e5a81eeee814021
doc: factor out common option

In preparation for adding documentation for `git refs list`, factor out
the common options from the `git-for-each-ref` man page into a
shareable file `for-each-ref-options.adoc` and update
`git-for-each-ref.adoc` to use an `include::` macro.

This change is a pure refactoring and results in no change to the
final rendered documentation for `for-each-ref`.

Mentored-by: Patrick Steinhardt <ps@pks.im>
Mentored-by: shejialuo <shejialuo@gmail.com>
Mentored-by: Karthik Nayak <karthik.188@gmail.com>
Signed-off-by: Meet Soni <meetsoni3017@gmail.com>
Signed-off-by: Junio C Hamano <gitster@pobox.com>
Documentation/for-each-ref-options.adoc [new file with mode: 0644]
Documentation/git-for-each-ref.adoc