mirror of
https://github.com/sourcegit-scm/sourcegit
synced 2025-05-22 12:45:00 +00:00
feature: add a button to switch tag sort method (creatordate/name asc/name des) (#865)
This commit is contained in:
parent
84721a7258
commit
08a128cd87
9 changed files with 112 additions and 6 deletions
|
@ -38,6 +38,12 @@ namespace SourceGit.Models
|
|||
set;
|
||||
} = false;
|
||||
|
||||
public TagSortMode TagSortMode
|
||||
{
|
||||
get;
|
||||
set;
|
||||
} = TagSortMode.CreatorDate;
|
||||
|
||||
public bool IncludeUntrackedInLocalChanges
|
||||
{
|
||||
get;
|
||||
|
|
|
@ -2,10 +2,18 @@
|
|||
|
||||
namespace SourceGit.Models
|
||||
{
|
||||
public enum TagSortMode
|
||||
{
|
||||
CreatorDate = 0,
|
||||
NameInAscending,
|
||||
NameInDescending,
|
||||
}
|
||||
|
||||
public class Tag : ObservableObject
|
||||
{
|
||||
public string Name { get; set; } = string.Empty;
|
||||
public string SHA { get; set; } = string.Empty;
|
||||
public ulong CreatorDate { get; set; } = 0;
|
||||
public string Message { get; set; } = string.Empty;
|
||||
|
||||
public FilterMode FilterMode
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue