mirror of
https://github.com/jesseduffield/lazygit.git
synced 2025-05-11 12:25:47 +02:00
Use Rewording instead of Committing when rewording the head commit
Now that we have this status, let's use it for the head case too, for consistency.
This commit is contained in:
parent
c18d8af9f4
commit
e6d6ed4f9a
1 changed files with 1 additions and 1 deletions
|
@ -412,7 +412,7 @@ func (self *LocalCommitsController) handleReword(summary string, description str
|
|||
if models.IsHeadCommit(self.c.Model().Commits, self.c.Contexts().LocalCommits.GetSelectedLineIdx()) {
|
||||
// we've selected the top commit so no rebase is required
|
||||
return self.c.Helpers().GPG.WithGpgHandling(self.c.Git().Commit.RewordLastCommit(summary, description),
|
||||
self.c.Tr.CommittingStatus, nil)
|
||||
self.c.Tr.RewordingStatus, nil)
|
||||
}
|
||||
|
||||
return self.c.WithWaitingStatus(self.c.Tr.RewordingStatus, func(gocui.Task) error {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue