diff options
author | Jesse Duffield <jessedduffield@gmail.com> | 2018-09-25 20:10:12 +1000 |
---|---|---|
committer | GitHub <noreply@github.com> | 2018-09-25 20:10:12 +1000 |
commit | 17d7bcdeafe35d60dd4ebb553a6c46a716e5df92 (patch) | |
tree | 0aff607e4a4b8cae046b4f1e0391b19233f918a4 /pkg/gui/commits_panel.go | |
parent | a2b3cd08234e933ed572f3d95d473e19bd6adc99 (diff) | |
parent | d0a3f1eecf7d1ae9bedce29ad5d903cb1a563864 (diff) |
Merge branch 'master' into feature/informative-commit-colors
Diffstat (limited to 'pkg/gui/commits_panel.go')
-rw-r--r-- | pkg/gui/commits_panel.go | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/pkg/gui/commits_panel.go b/pkg/gui/commits_panel.go index e3f4c84ac..1ea7d66b2 100644 --- a/pkg/gui/commits_panel.go +++ b/pkg/gui/commits_panel.go @@ -69,7 +69,10 @@ func (gui *Gui) handleCommitSelect(g *gocui.Gui, v *gocui.View) error { } return gui.renderString(g, "main", gui.Tr.SLocalize("NoCommitsThisBranch")) } - commitText := gui.GitCommand.Show(commit.Sha) + commitText, err := gui.GitCommand.Show(commit.Sha) + if err != nil { + return err + } return gui.renderString(g, "main", commitText) } |