From 954d1a814793012d3a22d99e5570f6c369fff1b1 Mon Sep 17 00:00:00 2001 From: Ryooooooga Date: Fri, 1 Apr 2022 20:03:08 +0900 Subject: [PATCH] fix commit description --- pkg/gui/commit_files_panel.go | 1 + 1 file changed, 1 insertion(+) diff --git a/pkg/gui/commit_files_panel.go b/pkg/gui/commit_files_panel.go index 89f424779..5a3bb653a 100644 --- a/pkg/gui/commit_files_panel.go +++ b/pkg/gui/commit_files_panel.go @@ -41,6 +41,7 @@ func (gui *Gui) commitFilesRenderToMain() error { func (gui *Gui) SwitchToCommitFilesContext(opts controllers.SwitchToCommitFilesContextOpts) error { gui.State.Contexts.CommitFiles.SetSelectedLineIdx(0) gui.State.Contexts.CommitFiles.SetRef(opts.Ref) + gui.State.Contexts.CommitFiles.SetTitleRef(opts.Ref.Description()) gui.State.Contexts.CommitFiles.SetCanRebase(opts.CanRebase) gui.State.Contexts.CommitFiles.SetParentContext(opts.Context) gui.State.Contexts.CommitFiles.SetWindowName(opts.Context.GetWindowName())