diff options
author | Jesse Duffield <jessedduffield@gmail.com> | 2020-08-22 18:50:37 +1000 |
---|---|---|
committer | Jesse Duffield <jessedduffield@gmail.com> | 2020-08-23 14:29:18 +1000 |
commit | 148f601bcbb36772464fa4decdfea10a30e7e2ee (patch) | |
tree | b740fc1bd07d9c4ae0fdf43b7ea60c1c82e7a7c9 /pkg/gui/commits_panel.go | |
parent | 43d891b8d68c862da793429e0bdbca9dcabb44b0 (diff) |
cleanup now that we're always using the same diff command
Diffstat (limited to 'pkg/gui/commits_panel.go')
-rw-r--r-- | pkg/gui/commits_panel.go | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/pkg/gui/commits_panel.go b/pkg/gui/commits_panel.go index 9737d5681..7952a7304 100644 --- a/pkg/gui/commits_panel.go +++ b/pkg/gui/commits_panel.go @@ -420,7 +420,7 @@ func (gui *Gui) handleViewCommitFiles() error { return nil } - return gui.switchToCommitFilesContext(commit.Sha, REF_TYPE_LOCAL_COMMIT, gui.Contexts.BranchCommits.Context, "commits") + return gui.switchToCommitFilesContext(commit.Sha, true, gui.Contexts.BranchCommits.Context, "commits") } func (gui *Gui) hasCommit(commits []*commands.Commit, target string) (int, bool) { |