Skip to content

Commit 41a7afb

Browse files
committed
Don't call OnCommitSuccess in handleReword
All this does is clear the preserved commit message; however, we open the commit message panel with PreserveMessage: false when rewording, so this is not necessary.
1 parent ddc14ef commit 41a7afb

File tree

1 file changed

+0
-1
lines changed

1 file changed

+0
-1
lines changed

pkg/gui/controllers/local_commits_controller.go

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -422,7 +422,6 @@ func (self *LocalCommitsController) handleReword(summary string, description str
422422
if err != nil {
423423
return err
424424
}
425-
self.c.Helpers().Commits.OnCommitSuccess()
426425
return self.c.Refresh(types.RefreshOptions{Mode: types.ASYNC})
427426
}
428427

0 commit comments

Comments
 (0)