mirror of
https://github.com/sourcegit-scm/sourcegit
synced 2025-05-20 19:55:00 +00:00
feature: supports to enable --ignore-cr-at-eol
in diff by default
Signed-off-by: leo <longshuang@msn.cn>
This commit is contained in:
parent
586ff39da1
commit
f72f1894c3
6 changed files with 32 additions and 1 deletions
|
@ -29,6 +29,8 @@ namespace SourceGit.Commands
|
|||
|
||||
if (ignoreWhitespace)
|
||||
Args = $"-c core.autocrlf=false diff --no-ext-diff --patch --ignore-all-space --unified={unified} {opt}";
|
||||
else if (Models.DiffOption.IgnoreCRAtEOL)
|
||||
Args = $"-c core.autocrlf=false diff --no-ext-diff --patch --ignore-cr-at-eol --unified={unified} {opt}";
|
||||
else
|
||||
Args = $"-c core.autocrlf=false diff --no-ext-diff --patch --unified={unified} {opt}";
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue