Skip to content

commits produced by revert action do not factor in git.commit.signOff configuration #4911

@0xar-ds

Description

@0xar-ds

Describe the bug

title is enough

To Reproduce

Steps to reproduce the behavior:

  1. Configure lazygit to --signoff commit's
    ~/.config/lazygit/config.yml
git
  commit:
    signOff: true
  1. Go to:
    Any repository where you may author a commit
  2. Click on
    On the commits panel, select one & press whichever key you have configured to trigger the revert action (default is t)
  3. Scroll down to '....'
    Select the commit produced as a revert action
  4. See error
    The commit body does not include a signoff message

Expected behavior

The commit body to include a signoff message

Version info:

commit=v0.55.1, build date=2025-09-17T18:57:13Z, build source=binaryRelease, version=0.55.1, os=linux, arch=amd64, git version=2.51.0

Additional context

Add any other context about the problem here.

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