Skip to content

Commit e6d6ed4

Browse files
committed
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.
1 parent c18d8af commit e6d6ed4

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

pkg/gui/controllers/local_commits_controller.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -412,7 +412,7 @@ func (self *LocalCommitsController) handleReword(summary string, description str
412412
if models.IsHeadCommit(self.c.Model().Commits, self.c.Contexts().LocalCommits.GetSelectedLineIdx()) {
413413
// we've selected the top commit so no rebase is required
414414
return self.c.Helpers().GPG.WithGpgHandling(self.c.Git().Commit.RewordLastCommit(summary, description),
415-
self.c.Tr.CommittingStatus, nil)
415+
self.c.Tr.RewordingStatus, nil)
416416
}
417417

418418
return self.c.WithWaitingStatus(self.c.Tr.RewordingStatus, func(gocui.Task) error {

0 commit comments

Comments
 (0)