-
-
Notifications
You must be signed in to change notification settings - Fork 675
Open
Labels
bugSomething isn't workingSomething isn't working
Description
Describe the bug
Amending a signed commit overwrites the author (bad) and the committer (good).
Amending an unsigned commit does not overwrite the author (good), but it also does not overwrite the committer (bad).
To Reproduce
- Check out a branch where the latest commit was authored and committed by someone else
- Run
git log --pretty=full -n 1and verify that theAuthorfield shows someone other than you - Stage changes
- Open the commit dialog
- Press Ctrl-A to make the pending commit be an amend operation
- Press Ctrl-D to finish the commit
- Run
git log --pretty=full -n 1again - Observe that either the author or committer is wrong (depending on whether the commit you amended was signed)
Expected behavior
Amending a commit should overwrite the committer, but not the author.
Context
- OS: Chimera Linux (updated as of 2025-11-20)
- GitUI Version: 0.27.0
- Rust version: 1.91.0
Metadata
Metadata
Assignees
Labels
bugSomething isn't workingSomething isn't working