From: Arnaud Bertrand <xda@xxxxxxxxxx> 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