From b80fafef02e819ea580cf9108487aee9aa4d3687 Mon Sep 17 00:00:00 2001 From: Davyd McColl Date: Fri, 11 Jun 2021 15:27:03 +0200 Subject: [PATCH] :art: properly ignore the result --- pkg/gui/staging_panel.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/pkg/gui/staging_panel.go b/pkg/gui/staging_panel.go index f30aadd6a..69a005688 100644 --- a/pkg/gui/staging_panel.go +++ b/pkg/gui/staging_panel.go @@ -35,7 +35,7 @@ func (gui *Gui) refreshStagingPanel(forceSecondaryFocused bool, selectedLineIdx // if we were ignoring whitespace, stop doing that so that // line-by-line diffs work as expected - gui.setIgnoreWhitespaceFlag(false) + _ = gui.setIgnoreWhitespaceFlag(false) // note for custom diffs, we'll need to send a flag here saying not to use the custom diff diff := gui.GitCommand.WorktreeFileDiff(file, true, secondaryFocused, gui.State.IgnoreWhitespaceInDiffView)