Skip to content

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

@squeaktoy

Description

@squeaktoy

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

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't working

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions