feature: supports to enable --ignore-cr-at-eol in diff by default

Signed-off-by: leo <longshuang@msn.cn>
This commit is contained in:
leo 2025-04-23 15:34:21 +08:00
parent 586ff39da1
commit f72f1894c3
No known key found for this signature in database
6 changed files with 32 additions and 1 deletions

View file

@ -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;