optimize<WorkingCopy>: do NOT show unmerged changes in staged

This commit is contained in:
leo 2021-05-08 10:08:57 +08:00
parent 08f279a521
commit 6613566afb
3 changed files with 5 additions and 9 deletions

View file

@ -33,13 +33,6 @@ namespace SourceGit.Models {
public string Path { get; set; } = "";
public string OriginalPath { get; set; } = "";
public bool IsAddedToIndex {
get {
if (Index == Status.None || Index == Status.Untracked) return false;
return true;
}
}
public bool IsConflit {
get {
if (Index == Status.Unmerged || WorkTree == Status.Unmerged) return true;