Skip to content

Setting git.overrideGpg breaks full-screen commit output #4745

@simon-abbott

Description

@simon-abbott

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 the latest master to see if the issue still occurs.

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