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

[PATCH 0/2] replay: add signing support

From
PMPatrick Monette <pmonette@google.com>
Date
Sep 25, 2026, 20:53 UTC
Message-ID
<20260925205348.1210154-1-pmonette@google.com>

This pair of commits fixes a FIXME in replay.c. With this, it's possible to sign commits using `git replay`.

To follow the convention of git plumbing commands, where they must behave the same regardless of user config, `commit.gpgSign` is intentionally ignored.

The first patch fixes pick_regular_commit() to ensure failures to create commits are correctly handled, which can now happen more easily because of signing.

Patrick Monette (2):
  replay: handle failure to create commits
  replay: add the -S option
 Documentation/git-replay.adoc |  10 +++-
 builtin/replay.c              |  12 +++-
 replay.c                      |  17 ++++--
 replay.h                      |   6 ++
 t/meson.build                 |   1 +
 t/t3651-replay-gpg-sign.sh    | 107 ++++++++++++++++++++++++++++++++++
 6 files changed, 146 insertions(+), 7 deletions(-)
 create mode 100755 t/t3651-replay-gpg-sign.sh
-- 
2.56.0.rc1.315.gc6ed9934b7-goog
Next: Patrick Monette
Message 1 of 8 in “replay: add signing support”
  1. 0/2 replay: add signing supportPatrick Monette, Sep 25, 2026
  2. 1/2 replay: handle failure to create commitsPatrick Monette, Sep 25, 2026
  3. Patrick SteinhardtSep 28, 2026
  4. 2/2 replay: add the -S optionPatrick Monette, Sep 25, 2026
  5. Patrick SteinhardtSep 28, 2026
  6. Junio C HamanoOct 2, 2026
  7. Patrick SteinhardtSep 28, 2026
  8. Junio C HamanoSep 28, 2026

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.