diff options
author | Ryooooooga <eial5q265e5@gmail.com> | 2022-03-26 22:18:08 +0900 |
---|---|---|
committer | Jesse Duffield <jessedduffield@gmail.com> | 2022-04-02 17:04:42 +1100 |
commit | 4835fc00b861c6117c1d4d6873a05d808e54b4cf (patch) | |
tree | 6f521eb16da8c9310cab776d6b57e84de32d4752 /pkg/gui/refresh.go | |
parent | 30be50b641dbe594d7968e79536028f22beee1b0 (diff) |
introduce Ref interface
Diffstat (limited to 'pkg/gui/refresh.go')
-rw-r--r-- | pkg/gui/refresh.go | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/pkg/gui/refresh.go b/pkg/gui/refresh.go index 244c0c050..d3aaf9454 100644 --- a/pkg/gui/refresh.go +++ b/pkg/gui/refresh.go @@ -186,7 +186,7 @@ func (gui *Gui) refreshCommits() { // For now the awkwardness remains. commit := gui.getSelectedLocalCommit() if commit != nil { - gui.State.Contexts.CommitFiles.SetRefName(commit.RefName()) + gui.State.Contexts.CommitFiles.SetRef(commit) gui.State.Contexts.CommitFiles.SetTitleRef(commit.RefName()) _ = gui.refreshCommitFilesContext() } |