lazygit icon indicating copy to clipboard operation
lazygit copied to clipboard

log.showSignature causes reword dialog to spill gpg info into the commit message

Open squeaktoy opened this issue 1 year ago • 1 comments

Describe the bug If you enable log.showSignature in .gitconfig, lazygit will spill some of the gpg signing info from the commit log into the reword dialog.

To Reproduce Steps to reproduce the behavior:

  1. Edit and append the following to $HOME/.gitconfig:
[log]
	showSignature = true
  1. Open lazygit in some repo with signed commits
  2. Select a signed commit, and press r to reword
  3. Observe how the gpg information gets spilled into the commit message

Expected behavior The gpg information does not get spilled into the reword dialog.

Screenshots lazygit-gpg-reword-bug

Version info: commit=, build date=, build source=unknown, version=0.41.0, os=linux, arch=amd64, git version=2.43.2 git version 2.43.2

squeaktoy avatar Apr 07 '24 23:04 squeaktoy

Duplicate of #3425; already fixed by #3431.

stefanhaller avatar Apr 08 '24 12:04 stefanhaller