jesseduffield / jesseduffield/lazygit

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

Open
#3,485 1 comment 0 reactions 0 assignees View on GitHub
bug
Dominant language
Go
Stars
82.4k
Forks
3k
Avg merge
2d 18h
Merged PRs (30d)
19

Description

**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
```
2. Open lazygit in some repo with signed commits
3. Select a signed commit, and press `r` to reword
4. 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](https://github.com/jesseduffield/lazygit/assets/147341824/ed3b37d6-d9b2-4a79-bfd5-dd0cbabcb0c9)

**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

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.