summaryrefslogtreecommitdiff
path: root/Documentation/config
diff options
context:
space:
mode:
authorLibravatar Junio C Hamano <gitster@pobox.com>2020-08-01 13:49:12 -0700
committerLibravatar Junio C Hamano <gitster@pobox.com>2020-08-01 13:49:13 -0700
commit341a196ab6603aa7be709812132fd906a3d2359c (patch)
treeffb5cced1ece0bba1636b163b86f314e819a4620 /Documentation/config
parentThe second batch -- mostly minor typofixes (diff)
parentfmt-merge-msg: allow merge destination to be omitted again (diff)
downloadtgif-341a196ab6603aa7be709812132fd906a3d2359c.tar.xz
Merge branch 'jc/fmt-merge-msg-suppress-destination' into master
"git merge" learned to selectively omit " into <branch>" at the end of the title of default merge message with merge.suppressDest configuration. * jc/fmt-merge-msg-suppress-destination: fmt-merge-msg: allow merge destination to be omitted again Revert "fmt-merge-msg: stop treating `master` specially"
Diffstat (limited to 'Documentation/config')
-rw-r--r--Documentation/config/fmt-merge-msg.txt12
1 files changed, 12 insertions, 0 deletions
diff --git a/Documentation/config/fmt-merge-msg.txt b/Documentation/config/fmt-merge-msg.txt
index c73cfa90b7..a8e8f74d0a 100644
--- a/Documentation/config/fmt-merge-msg.txt
+++ b/Documentation/config/fmt-merge-msg.txt
@@ -8,3 +8,15 @@ merge.log::
most the specified number of one-line descriptions from the
actual commits that are being merged. Defaults to false, and
true is a synonym for 20.
+
+merge.suppressDest::
+ By adding a glob that matches the names of integration
+ branches to this multi-valued configuration variable, the
+ default merge message computed for merges into these
+ integration branches will omit " into <branch name>" from
+ its title.
++
+An element with an empty value can be used to clear the list
+of globs accumulated from previous configuration entries.
+When there is no `merge.suppressDest` variable defined, the
+default value of `master` is used for backward compatibility.