mirror of
https://github.com/jesseduffield/lazygit.git
synced 2025-04-17 12:06:38 +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
@ -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…
x
Reference in New Issue
Block a user