mirror of
https://github.com/jesseduffield/lazygit.git
synced 2025-07-17 01:42:45 +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:
@ -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 {
|
||||
|
Reference in New Issue
Block a user