git/list[1] front-page[2] threads[3] people[4] search[5] about
 

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

From
Toon Claes <toon@iotcl.com>
Date
Oct 8, 2019, 07:45 UTC
Message-ID
<20191008074538.4950-1-toon@iotcl.com>

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

Message 1 of 1 in “Add support for Co-authored-by”
  1. 0/1 Add support for Co-authored-byToon Claes, Oct 8, 2019

Read the whole thread, see it on lore, or plain text.

$ cat FOOTERMessages come from the public archive at lore.kernel.org/git, fetched every hour. The front page is chosen and written each morning by an AI editor and can be wrong; the threads themselves are the record. About and API. For agents: an MCP server at https://gitlist.dev/mcp, and any thread, story or person page as Markdown by adding .md to its URL (or sending Accept: text/markdown). Details in /llms.txt.