diff --git a/src/Commands/Diff.cs b/src/Commands/Diff.cs index e3185781..b9b6e064 100644 --- a/src/Commands/Diff.cs +++ b/src/Commands/Diff.cs @@ -24,9 +24,9 @@ namespace SourceGit.Commands Context = repo; if (ignoreWhitespace) - Args = $"diff --ignore-cr-at-eol --ignore-all-space --unified={unified} {opt}"; + Args = $"diff --patch --ignore-cr-at-eol --ignore-all-space --unified={unified} {opt}"; else - Args = $"diff --ignore-cr-at-eol --unified={unified} {opt}"; + Args = $"diff --patch --ignore-cr-at-eol --unified={unified} {opt}"; } public Models.DiffResult Result()