Skip to content

RFC *** Add branchname in commit when core.branchnameincommit is set ***

Arnaud Bertrand git 1 version New

Get series with b4
b4 am [email protected]

Versions newest first

  1. v2 RFC Latest2 patches 0 repliesNew

Patches in v2 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/2Add branchname in commit headerDocumentation/pretty-formats.txt commit.c pretty.c+27 -00 replies
2/2Add the configuration parameter core.branchnameincommitcache.h commit.c config.c +1 more+24 -70 replies

Reviews trailers per patch

No Reviewed-by, Acked-by or Tested-by trailers for v2 yet.

Read the v2 thread

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

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(+)
Signature · 1 line
2.25.0.rc0.7.g17b02bf28a