1
0
mirror of https://github.com/jesseduffield/lazygit.git synced 2025-06-17 00:18:05 +02:00

🎨 prefer the long switch over the short one for easier reading

This commit is contained in:
Davyd McColl
2021-06-14 10:45:29 +02:00
committed by Jesse Duffield
parent 2ac33bb83d
commit ae2496cf80
2 changed files with 2 additions and 2 deletions

View File

@ -211,7 +211,7 @@ func (c *GitCommand) WorktreeFileDiffCmdStr(node models.IFile, plain bool, cache
colorArg = "never"
}
if ignoreWhitespace {
ignoreWhitespaceArg = "-w"
ignoreWhitespaceArg = "--ignore-all-space"
}
return fmt.Sprintf("git diff --submodule --no-ext-diff --color=%s %s %s %s %s", colorArg, ignoreWhitespaceArg, cachedArg, trackedArg, path)