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

[RFC PATCH 0/2 v2] *** Add branchname in commit when core.branchnameincommit is set ***

From
ABArnaud Bertrand <xda@abalgo.com>
Date
Dec 30, 2019, 16:32 UTC
Message-ID
<20191230163256.14749-1-xda@abalgo.com>
In-Reply-To
<20191229222633.23815-1-arnaud.bertrand@abalgo.com>

To avoid any change in the current git behaviour by default, I've added a configuration variable that allow to activate the feature for those who want to see the branchname in commit. By default, this feature is disabled

Arnaud Bertrand (2):
  Add branchname in commit header
  Add the configuration parameter core.branchnameincommit
 Documentation/pretty-formats.txt |  1 +
 cache.h                          |  1 +
 commit.c                         | 21 +++++++++++++++++++++
 config.c                         |  5 +++++
 environment.c                    |  1 +
 pretty.c                         | 15 +++++++++++++++
 6 files changed, 44 insertions(+)
-- 
2.25.0.rc0.7.g17b02bf28a
Previous: Arnaud BertrandNext: Arnaud Bertrand
Message 5 of 7 in “*** Add branchname in commit header ***”
  1. 0/1 *** Add branchname in commit header ***Arnaud Bertrand, Dec 29, 2019
  2. 1/1 Add branchname in commit headerArnaud Bertrand, Dec 29, 2019
  3. brian m. carlsonDec 30, 2019
  4. Arnaud BertrandDec 30, 2019
  5. 0/2 *** Add branchname in commit when core.branchnameincommit is set ***Arnaud Bertrand, Dec 30, 2019
  6. 1/2 Add branchname in commit headerArnaud Bertrand, Dec 30, 2019
  7. 2/2 Add the configuration parameter core.branchnameincommitArnaud Bertrand, Dec 30, 2019

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.