Skip to contentSkip to conversation

Add support for Co-authored-by

PATCH New Toon Claes 1 participant 1 message Oct 8, 2019

lore
Share & tools
lore

Toon Claes

author
#0 lore raw

cover Add support for Co-authored-by

With this patch it is possible to specify a co-author when committing. You'd just need to provide the --coauthor argument with a co-author in the format "Co Artur <[email protected]>". You can specify multiple co-authors by using the --coauthor argument multiple times.

The Co-authored-by trailer is something that is commonly used when people pair up and want multiple authors in the commit message.

The feature was originally proposed here:
https://github.com/gitgitgadget/git/issues/343

Toon Claes (1):
commit: add support to provide --coauthor

 Documentation/git-commit.txt |  5 ++++
 builtin/commit.c             |  7 ++++++
 sequencer.c                  | 44 ++++++++++++++++++++++++++----------
 sequencer.h                  |  2 ++
 t/t7502-commit-porcelain.sh  | 11 +++++++++
 5 files changed, 57 insertions(+), 12 deletions(-)

--
2.22.0.rc3