diff --git a/src/Commands/Commits.cs b/src/Commands/Commits.cs index fbc7cd60..5597f05e 100644 --- a/src/Commands/Commits.cs +++ b/src/Commands/Commits.cs @@ -117,6 +117,14 @@ namespace SourceGit.Commands { } } + decorators.Sort((l, r) => { + if (l.Type != r.Type) { + return (int)l.Type - (int)r.Type; + } else { + return l.Name.CompareTo(r.Name); + } + }); + return isHeadOfCurrent; } diff --git a/src/Views/Popups/CreateBranch.xaml b/src/Views/Popups/CreateBranch.xaml index 7e2c4722..aacf00a9 100644 --- a/src/Views/Popups/CreateBranch.xaml +++ b/src/Views/Popups/CreateBranch.xaml @@ -1,5 +1,6 @@