diff options
-rw-r--r-- | pkg/gui/diffing.go | 18 |
1 files changed, 10 insertions, 8 deletions
diff --git a/pkg/gui/diffing.go b/pkg/gui/diffing.go index a42b6b335..bf248918d 100644 --- a/pkg/gui/diffing.go +++ b/pkg/gui/diffing.go @@ -40,15 +40,17 @@ func (gui *Gui) currentDiffTerminals() []string { names := []string{} switch gui.g.CurrentView().Name() { case "files": - file, err := gui.getSelectedFile() - if err == nil { - names = append(names, file.Name) - } + // not supporting files for now + // file, err := gui.getSelectedFile() + // if err == nil { + // names = append(names, file.Name) + // } case "commitFiles": - file := gui.getSelectedCommitFile() - if file != nil { - names = append(names, file.Name) - } + // not supporting commit files for now + // file := gui.getSelectedCommitFile() + // if file != nil { + // names = append(names, file.Name) + // } case "commits": var commit *commands.Commit switch gui.getCommitsView().Context { |