[PATCH 0/2] replay: add signing support
- From
- Patrick 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