]> Kevux Git Server - rit/commit
doc: fetch: document `--filter=<filter-spec>` option
authorChristian Couder <christian.couder@gmail.com>
Mon, 16 Feb 2026 13:23:11 +0000 (14:23 +0100)
committerJunio C Hamano <gitster@pobox.com>
Tue, 17 Feb 2026 19:46:40 +0000 (11:46 -0800)
commit190438b62fa5624077c2ee48065f47e1a56d01a7
tree65fdb330f9190ce97036bd22859205111fa1a879
parentf7565410e1f803873c097258109ff0258ad913fc
doc: fetch: document `--filter=<filter-spec>` option

The `--filter=<filter-spec>` option is documented in most commands that
support it except `git fetch`.

Let's fix that and document this option. To ensure consistency across
commands, let's reuse the exact description currently found in
`git clone`.

Signed-off-by: Christian Couder <chriscool@tuxfamily.org>
Signed-off-by: Junio C Hamano <gitster@pobox.com>
Documentation/fetch-options.adoc