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

[RFC PATCH 0/3] git-merge: update default commit message

From
Ii.Dark_Templar <darktemplar@dark-templar-archives.net>
Date
Feb 9, 2020, 13:16 UTC
Message-ID
<20200209131623.5827-1-darktemplar@dark-templar-archives.net>
This series of patches updates default commit message for git-merge command.

First patch adds alternative commit message formatting where each merged object is printed on new line and adds configuration option to enable it.

New format may look good for merges with a lot of objects, but for merge with just one object old format may still look better. To be able to use both formats, new format type 'autoselect' is added in patch 2, and configuration option for format selection is reworked.

Patch 3 changes default message formatting to 'autoselect' introduced in patch 2, thus changing default behaviour of git.

i.Dark_Templar (3):
  git-merge: add option to format default message using multiple lines
  Add merge commit message type autoselect logic
  Enable merge commit message type autoselect logic by default
 Documentation/config/fmt-merge-msg.txt |  13 +++
 builtin/fmt-merge-msg.c                | 127 ++++++++++++++++++++++++-
 2 files changed, 138 insertions(+), 2 deletions(-)

-- 2.24.1

Next: i.Dark_Templar
Message 1 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.