mirror of
https://github.com/sourcegit-scm/sourcegit
synced 2025-05-23 05:05:00 +00:00
feature: add dirty state indicator icon to repository tab (#1227)
Signed-off-by: leo <longshuang@msn.cn>
This commit is contained in:
parent
847a1e727b
commit
80aead3a17
5 changed files with 71 additions and 10 deletions
|
@ -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
12
src/Models/DirtyState.cs
Normal file
|
@ -0,0 +1,12 @@
|
|||
using System;
|
||||
|
||||
namespace SourceGit.Models
|
||||
{
|
||||
[Flags]
|
||||
public enum DirtyState
|
||||
{
|
||||
None = 0,
|
||||
HasLocalChanges = 1 << 0,
|
||||
HasPendingPullOrPush = 1 << 1,
|
||||
}
|
||||
}
|
Loading…
Add table
Add a link
Reference in a new issue