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

[RFC PATCH 0/1] *** Add branchname in commit header ***

From
ABArnaud Bertrand <arnaud.bertrand@abalgo.com>
Date
Dec 29, 2019, 22:26 UTC
Message-ID
<20191229222633.23815-1-arnaud.bertrand@abalgo.com>
From: Arnaud Bertrand <xda@abalgo.com>

For tracability purpose it is often necessary to know which commit is envolved in a branch Keeping track of the branchname in the commit header will make this traceability easy and will facilitate the graphical toolis that represent the branches and that have today to use complex algorithm to try to determine the branch of a commit that was known at the commit time.

no big change in the code, today rebase is not considered yet I'm waiting feedback about that before touching the rebase code.

Arnaud Bertrand (1):
  Add branchname in commit header
 Documentation/pretty-formats.txt |  1 +
 commit.c                         | 11 +++++++++++
 pretty.c                         | 15 +++++++++++++++
 3 files changed, 27 insertions(+)
-- 
2.25.0.rc0.7.g17b02bf28a
Next: Arnaud Bertrand
Message 1 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.