threads / patch / 51994

patchAdd support for Co-authored-by

Subject: [PATCH 0/1] Add support for Co-authored-by

## tl;dr

One message between Oct 8, 2019 and Oct 8, 2019. Diffs are folded; open one to read it.

replies: 0people: 1as markdown or json

Toon Claes· Oct 8, 2019, 07:45 UTC · lore

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 <co-artur@example.com>". 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

← back to recent threads