feature: add dirty state indicator icon to repository tab (#1227)

Signed-off-by: leo <longshuang@msn.cn>
This commit is contained in:
leo 2025-04-30 11:01:39 +08:00
parent 847a1e727b
commit 80aead3a17
No known key found for this signature in database
5 changed files with 71 additions and 10 deletions

View file

@ -14,8 +14,8 @@ namespace SourceGit.Models
public enum BisectCommitFlag
{
None = 0,
Good = 1,
Bad = 2,
Good = 1 << 0,
Bad = 1 << 1,
}
public class Bisect

12
src/Models/DirtyState.cs Normal file
View file

@ -0,0 +1,12 @@
using System;
namespace SourceGit.Models
{
[Flags]
public enum DirtyState
{
None = 0,
HasLocalChanges = 1 << 0,
HasPendingPullOrPush = 1 << 1,
}
}