[PATCH 0/2] replay: add signing support
From: Patrick Monette <hidden>
Date: 2026-09-25 20:53:53
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