Open
Description
Describe the bug
With GPG signing enabled but git.overrideGpg = false
, this error message will appear when trying to edit a non-latest commit:
Line 1531 in 8280fde
However, this error message only appears after applying the changes in the commit message editor. It happened more than once to me, that I wrote a beautiful commit message... which was then gone, because of that error!
To Reproduce
Steps to reproduce the behavior:
- Enable GPG signing.
- Select the second to last commit.
- Hit
r
to reword and make some changes. - See the error appear - too late.
Expected behavior
The error should already be shown when starting the "reword this commit" process, before entering that editor.
Version info:
commit=, build date=, build source=nix, version=0.51.1, os=linux, arch=amd64, git version=2.49.0