# [PATCH] doc: include fmt-merge-msg config in the main config doc

3 messages from 2026-11-13 to 2026-11-15. Participants: YikunWei, Junio C Hamano, Yikun Wei.
Thread: https://gitlist.dev/t/66846

## YikunWei, 2026-11-13 14:45

Subject: [PATCH] doc: include fmt-merge-msg config in the main config doc
Message-ID: <20261113144543.46713-1-YikunWei@126.com>
URL: https://gitlist.dev/e/20261113144543.46713-1-YikunWei%40126.com

```
From: Yikun Wei <YikunWei@126.com>

config/fmt-merge-msg.adoc was only included by git-fmt-merge-msg(1),
so merge.branchdesc, merge.log and merge.suppressDest were missing
from git-config(1), the central configuration reference. Include it
in config.adoc (alphabetically between filter and format) so that
they are listed in `git help config`.

Signed-off-by: Yikun Wei <YikunWei@126.com>
---
 Documentation/config.adoc | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/Documentation/config.adoc b/Documentation/config.adoc
index aa6360e230..06ec247d92 100644
--- a/Documentation/config.adoc
+++ b/Documentation/config.adoc
@@ -498,6 +498,8 @@ include::config/fetch.adoc[]
 
 include::config/filter.adoc[]
 
+include::config/fmt-merge-msg.adoc[]
+
 include::config/format.adoc[]
 
 include::config/fsck.adoc[]
-- 
2.43.0



```

## Junio C Hamano, 2026-11-14 19:47

Subject: Re: [PATCH] doc: include fmt-merge-msg config in the main config doc
Message-ID: <xmqq33t3p53y.fsf@gitster.g>
URL: https://gitlist.dev/e/xmqq33t3p53y.fsf%40gitster.g
In-Reply-To: <20261113144543.46713-1-YikunWei@126.com>

```
YikunWei <YikunWei@126.com> writes:

> From: Yikun Wei <YikunWei@126.com>
>
> config/fmt-merge-msg.adoc was only included by git-fmt-merge-msg(1),
> so merge.branchdesc, merge.log and merge.suppressDest were missing
> from git-config(1), the central configuration reference. Include it
> in config.adoc (alphabetically between filter and format) so that
> they are listed in `git help config`.

Don't we include merge.adoc which in turn includes this file?



```

## Yikun Wei, 2026-11-15 10:09

Subject: Re: [PATCH] doc: include fmt-merge-msg config in the main config doc
Message-ID: <d1e75551-2557-4938-9055-9918bdea6190@126.com>
URL: https://gitlist.dev/e/d1e75551-2557-4938-9055-9918bdea6190%40126.com
In-Reply-To: <xmqq33t3p53y.fsf@gitster.g>

```
You are right. I missed that config/merge.adoc already includes
config/fmt-merge-msg.adoc, and config.adoc already includes
config/merge.adoc, so merge.branchdesc, merge.log and merge.suppressDest
are already in git-config(1). My patch would duplicate those entries.

Sorry for the noise -- please drop this patch. I won't reroll it.

Thanks,
Yikun



```
