jesseduffield / jesseduffield/lazygit

Setting `git.overrideGpg` breaks full-screen commit output

Open
#4,745 0 comments 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**
The value of `git.overrideGpg` changes whether or not committing files shows the progress full-screen. This is an issue as I make liberal use of git hooks, and not being able to see or interact with them during committing makes it hard to tell what went wrong.

**To Reproduce**
Steps to reproduce the behavior:

1. Open lazygit
2. Make a new commit
3. Change the value of the `git.overrideGpg` setting
4. Make a second commit

**Expected behavior**
I would expect both commits to switch the entire terminal to the output, thus letting me see (and interact with) my `pre-commit` and `commit-msg` hooks. Either that or there should be some other way to tell lazygit that it is allowed to reword previous commits.

**Screenshots**
N/A

**Version info:**
commit=, build date=, build source=nix, version=0.52.0, os=darwin, arch=arm64, git version=2.39.5 (Apple Git-154)
git version 2.39.5 (Apple Git-154)

**Additional context**
N/A

**Note:** please try updating to the latest version or [manually building](https://github.com/jesseduffield/lazygit/#manual) the latest `master` to see if the issue still occurs.

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.