git/list[1] front-page[2] threads[3] people[4] search[5] about
 

[RFC PATCH 3/3] Enable merge commit message type autoselect logic by default

From
Ii.Dark_Templar <darktemplar@dark-templar-archives.net>
Date
Feb 9, 2020, 13:16 UTC
Message-ID
<20200209131623.5827-4-darktemplar@dark-templar-archives.net>
In-Reply-To
<20200209131623.5827-1-darktemplar@dark-templar-archives.net>
Signed-off-by: i.Dark_Templar <darktemplar@dark-templar-archives.net>
---
 Documentation/config/fmt-merge-msg.txt | 2 +-
 builtin/fmt-merge-msg.c                | 2 +-
 2 files changed, 2 insertions(+), 2 deletions(-)
diff --git a/Documentation/config/fmt-merge-msg.txt b/Documentation/config/fmt-merge-msg.txt
index 3829095222..acd998cca8 100644
--- a/Documentation/config/fmt-merge-msg.txt
+++ b/Documentation/config/fmt-merge-msg.txt
@@ -10,7 +10,7 @@ merge.log::
 	true is a synonym for 20.
 
 merge.messageType::
-	Configure default merge commit message type. `original` is used
+	Configure default merge commit message type. `autoselect` is used
 	if no value or an invalid value is set.
 	+
 	* `original` keeps old merge commit message format which takes only one line.
diff --git a/builtin/fmt-merge-msg.c b/builtin/fmt-merge-msg.c
index 0bc6ce5b05..8fa39030d3 100644
--- a/builtin/fmt-merge-msg.c
+++ b/builtin/fmt-merge-msg.c
@@ -18,7 +18,7 @@ enum message_format {
 	MESSAGE_FORMAT_ORIGINAL = 0,
 	MESSAGE_FORMAT_MULTILINE = 1,
 	MESSAGE_FORMAT_AUTOSELECT = 2,
-	MESSAGE_FORMAT_DEFAULT = MESSAGE_FORMAT_ORIGINAL
+	MESSAGE_FORMAT_DEFAULT = MESSAGE_FORMAT_AUTOSELECT
 };
 
 static const char * const fmt_merge_msg_usage[] = {
-- 
2.24.1
Previous: i.Dark_TemplarNext: i.Dark_Templar
Message 2 of 11 in “git-merge: update default commit message”
  1. 0/3 git-merge: update default commit messagei.Dark_Templar, Feb 9, 2020
  2. 3/3 Enable merge commit message type autoselect logic by defaulti.Dark_Templar, Feb 9, 2020
  3. 1/3 git-merge: add option to format default message using multiple linesi.Dark_Templar, Feb 9, 2020
  4. Junio C HamanoFeb 9, 2020
  5. i.Dark_TemplarFeb 10, 2020
  6. 0/2 git-merge: update default commit messagei.Dark_Templar, Mar 9, 2020
  7. 1/2 git-merge: add option to format default message using multiple linesi.Dark_Templar, Mar 9, 2020
  8. Junio C HamanoMar 9, 2020
  9. i.Dark_TemplarMar 9, 2020
  10. 2/2 Enable multiline merge commit message by defaulti.Dark_Templar, Mar 9, 2020
  11. 2/3 Add merge commit message type autoselect logici.Dark_Templar, Feb 9, 2020

Read the whole thread, see it on lore, or plain text.

$ cat FOOTERMessages come from the public archive at lore.kernel.org/git, fetched every hour. The front page is chosen and written each morning by an AI editor and can be wrong; the threads themselves are the record. About and API. For agents: an MCP server at https://gitlist.dev/mcp, and any thread, story or person page as Markdown by adding .md to its URL (or sending Accept: text/markdown). Details in /llms.txt.