1
0
mirror of https://github.com/jesseduffield/lazygit.git synced 2025-02-09 13:47:11 +02:00

🎨 properly ignore the result

This commit is contained in:
Davyd McColl 2021-06-11 15:27:03 +02:00 committed by Jesse Duffield
parent 130480555f
commit b80fafef02

View File

@ -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)