feat: show git file mode change if exist

This commit is contained in:
Gadfly 2024-04-12 21:38:36 +08:00
parent 2d5e048797
commit a249eed1ac
No known key found for this signature in database
GPG key ID: 9128145F93CFC69C
7 changed files with 61 additions and 2 deletions

View file

@ -576,11 +576,18 @@ namespace SourceGit.Models
{
}
public class FileModeDiff
{
public string Old { get; set; } = string.Empty;
public string New { get; set; } = string.Empty;
}
public class DiffResult
{
public bool IsBinary { get; set; } = false;
public bool IsLFS { get; set; } = false;
public TextDiff TextDiff { get; set; } = null;
public LFSDiff LFSDiff { get; set; } = null;
public FileModeDiff FileModeDiff { get; set; } = null;
}
}