mirror of
https://github.com/sourcegit-scm/sourcegit
synced 2025-05-20 11:44:59 +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
|
@ -5,6 +5,15 @@ namespace SourceGit.Models
|
|||
{
|
||||
public class DiffOption
|
||||
{
|
||||
/// <summary>
|
||||
/// Enable `--ignore-cr-at-eol` by default?
|
||||
/// </summary>
|
||||
public static bool IgnoreCRAtEOL
|
||||
{
|
||||
get;
|
||||
set;
|
||||
} = false;
|
||||
|
||||
public Change WorkingCopyChange => _workingCopyChange;
|
||||
public bool IsUnstaged => _isUnstaged;
|
||||
public List<string> Revisions => _revisions;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue