mirror of
https://github.com/sourcegit-scm/sourcegit
synced 2025-06-16 16:05:00 +00:00
feature: tooltip for submodule list item (#1307)
This commit is contained in:
parent
55232aeddd
commit
d71189c705
6 changed files with 122 additions and 32 deletions
|
@ -1,8 +1,19 @@
|
|||
namespace SourceGit.Models
|
||||
{
|
||||
public enum SubmoduleStatus
|
||||
{
|
||||
Normal = 0,
|
||||
NotInited,
|
||||
RevisionChanged,
|
||||
Unmerged,
|
||||
Modified,
|
||||
}
|
||||
|
||||
public class Submodule
|
||||
{
|
||||
public string Path { get; set; } = "";
|
||||
public bool IsDirty { get; set; } = false;
|
||||
public string Path { get; set; } = string.Empty;
|
||||
public string SHA { get; set; } = string.Empty;
|
||||
public SubmoduleStatus Status { get; set; } = SubmoduleStatus.Normal;
|
||||
public bool IsDirty => Status > SubmoduleStatus.NotInited;
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue