Open
Description
Describe the bug
error when reword a commit that is not the latest one, and GPG commit signing is enabled

Surprisingly, it only happens with normal reword,
if I use lazygit feature "reword in the editor" it works smoothly
To Reproduce
Steps to reproduce the behavior:
configure your git to sign commit
vim ~/.gitconfig
[user]
name = redacted
email = redacted
signingkey = /home/redacted/.ssh/id_ed25519.pub
[gpg]
format = ssh
[commit]
gpgsign = true
[gpg "ssh"]
allowedSignersFile = /home/redacted/.config/git/allowed_signers
[core]
excludesfile = /home/redacted/.gitignore_global
- open lazygit,
- select a commit (not the latest one), press
r
to reword, - See error
Expected behavior
reword should work
Screenshots
Version info:
git version 2.34.1
lazygit:
commit=611fabde11d24d9acc71ee26077b9a1101f59f27, build date=2024-09-18T10:56:10Z, build source=binaryRelease, version=0.44.1, os=linux, arch=amd64, git version=2.34.1