]> git.ipfire.org Git - thirdparty/git.git/commit
doc: pack-refs: factor out common options
authorMeet Soni <meetsoni3017@gmail.com>
Fri, 19 Sep 2025 08:26:44 +0000 (13:56 +0530)
committerJunio C Hamano <gitster@pobox.com>
Fri, 19 Sep 2025 17:02:56 +0000 (10:02 -0700)
commit93efe34f5a9a6ef705e6f55d46852717ce242340
tree73e453e92061da24f604905f7723046419fe9bd1
parent0d4ec339227d04bcba89390bdef22d4dce30d271
doc: pack-refs: factor out common options

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

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

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