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)