]> Kevux Git Server - rit/commit
doc: diff-options.adoc: show format.noprefix for format-patch
authorKristoffer Haugsbakk <code@khaugsbakk.name>
Mon, 23 Feb 2026 23:30:51 +0000 (00:30 +0100)
committerJunio C Hamano <gitster@pobox.com>
Mon, 23 Feb 2026 23:55:19 +0000 (15:55 -0800)
commit5eee5d81e42369e7e3b86dbc6f45e96c65c0bb1d
treea7eae184fadffc75a88dec47ce4066e7de0f5100
parent04657ac02928bbd41fb4352db1bb0ba57488bad6
doc: diff-options.adoc: show format.noprefix for format-patch

git-format-patch(1) uses `format.noprefix` and ignores `diff.noprefix`.

The configuration variable `format.prefix` was added as an “escape
hatch”, and “it’s unlikely that anybody really wants format.
noprefix=true in the first place.”[1] Based on that there doesn’t
seem to be a need to widely advertise this configuration variable.

But in any case: the documentation for this option should not claim
that it overrides a config that is always ignored.

† 1: 8d5213de (format-patch: add format.noprefix option, 2023-03-09)

Signed-off-by: Kristoffer Haugsbakk <code@khaugsbakk.name>
Signed-off-by: Junio C Hamano <gitster@pobox.com>
Documentation/diff-options.adoc