[RFC PATCH 0/2 v2] *** Add branchname in commit when core.branchnameincommit is set ***
- From
- Arnaud 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