feature: enable --no-ext-diff for git diff command

Signed-off-by: leo <longshuang@msn.cn>
This commit is contained in:
leo 2024-11-16 09:26:13 +08:00
parent 8d84d0f6a1
commit cd137e222c
No known key found for this signature in database

View file

@ -28,9 +28,9 @@ namespace SourceGit.Commands
Context = repo;
if (ignoreWhitespace)
Args = $"diff --patch --ignore-cr-at-eol --ignore-all-space --unified={unified} {opt}";
Args = $"diff --no-ext-diff --patch --ignore-cr-at-eol --ignore-all-space --unified={unified} {opt}";
else
Args = $"diff --patch --ignore-cr-at-eol --unified={unified} {opt}";
Args = $"diff --no-ext-diff --patch --ignore-cr-at-eol --unified={unified} {opt}";
}
public Models.DiffResult Result()