Hi *,
This patch series tries to make more evident the author and committer ident
used in a commit trying to minimize when it is shown.
Changes since v1:
- Add blank line before and after Author/Committer lines,
but not beetween
- Fix for the initial commit, thanks to Jeff
- Only show the committer if not set with the user.* configs.
Santi
Santi Béjar (3):
Preparation to call determine_author_info from prepare_to_commit
commit: Show author if different from committer
commit: Show committer if different from the parent and automatic
builtin-commit.c | 135 +++++++++++++++++++++++++++++++++++++----------------
cache.h | 1 +
config.c | 4 ++
environment.c | 1 +
t/t7502-commit.sh | 23 +++++++++
5 files changed, 124 insertions(+), 40 deletions(-)