Skip to content

Commit fc0aa39

Browse files
szedergitster
authored andcommitted
Documentation: include 'merge.branchdesc' for merge and config as well
'merge.branchdesc' is only mentioned in the docs of 'git fmt-merge-msg'. The description of 'merge.log' is already duplicated between 'merge-config.txt' and 'git-fmt-merge-msg.txt'; instead of duplicating the description of another config variable, extract the descriptions of both of these variables from 'git-fmt-merge-msg.txt' into a separate file and include it there and in 'merge-config.txt'. Leave 'merge.summary' only in git-fmt-merge-msg.txt, as it is marked as deprecated. Signed-off-by: SZEDER Gábor <[email protected]> Signed-off-by: Junio C Hamano <[email protected]>
1 parent fdf96a2 commit fc0aa39

File tree

3 files changed

+12
-16
lines changed

3 files changed

+12
-16
lines changed
Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,10 @@
1+
merge.branchdesc::
2+
In addition to branch names, populate the log message with
3+
the branch description text associated with them. Defaults
4+
to false.
5+
6+
merge.log::
7+
In addition to branch names, populate the log message with at
8+
most the specified number of one-line descriptions from the
9+
actual commits that are being merged. Defaults to false, and
10+
true is a synonym for 20.

Documentation/git-fmt-merge-msg.txt

Lines changed: 1 addition & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -51,17 +51,7 @@ OPTIONS
5151

5252
CONFIGURATION
5353
-------------
54-
55-
merge.branchdesc::
56-
In addition to branch names, populate the log message with
57-
the branch description text associated with them. Defaults
58-
to false.
59-
60-
merge.log::
61-
In addition to branch names, populate the log message with at
62-
most the specified number of one-line descriptions from the
63-
actual commits that are being merged. Defaults to false, and
64-
true is a synonym for 20.
54+
include::fmt-merge-msg-config.txt[]
6555

6656
merge.summary::
6757
Synonym to `merge.log`; this is deprecated and will be removed in

Documentation/merge-config.txt

Lines changed: 1 addition & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -26,11 +26,7 @@ merge.ff::
2626
allowed (equivalent to giving the `--ff-only` option from the
2727
command line).
2828

29-
merge.log::
30-
In addition to branch names, populate the log message with at
31-
most the specified number of one-line descriptions from the
32-
actual commits that are being merged. Defaults to false, and
33-
true is a synonym for 20.
29+
include::fmt-merge-msg-config.txt[]
3430

3531
merge.renameLimit::
3632
The number of files to consider when performing rename detection

0 commit comments

Comments
 (0)