mirror of
https://github.com/jesseduffield/lazygit.git
synced 2025-12-07 23:22:40 +02:00
Allow ignoring whitespace in diff in commits panel
This commit is contained in:
@@ -95,6 +95,10 @@ func (gui *Gui) diffStr() string {
|
||||
output += " -R"
|
||||
}
|
||||
|
||||
if gui.IgnoreWhitespaceInDiffView {
|
||||
output += " --ignore-all-space"
|
||||
}
|
||||
|
||||
file := gui.currentlySelectedFilename()
|
||||
if file != "" {
|
||||
output += " -- " + file
|
||||
|
||||
Reference in New Issue
Block a user