diff options
author | Davyd McColl <davydm@gmail.com> | 2021-06-11 15:27:03 +0200 |
---|---|---|
committer | Jesse Duffield <jessedduffield@gmail.com> | 2021-07-01 17:13:14 +1000 |
commit | b80fafef02e819ea580cf9108487aee9aa4d3687 (patch) | |
tree | 7db5bbe67f461b77519dd5d83caf7e49863e6f0c /pkg/gui/staging_panel.go | |
parent | 130480555f1242a7b866f32a5ef1cb2f9a2504a4 (diff) |
:art: properly ignore the result
Diffstat (limited to 'pkg/gui/staging_panel.go')
-rw-r--r-- | pkg/gui/staging_panel.go | 2 |
1 files changed, 1 insertions, 1 deletions
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) |