GitCommands.GitModule.GetSortedRefs C# (CSharp) Method

GetSortedRefs() public method

public GetSortedRefs ( ) : IList
return IList
        public IList<string> GetSortedRefs()
        {
            string command = "for-each-ref --sort=-committerdate --sort=-taggerdate --format=\"%(refname)\" refs/";

            var tree = RunGitCmd(command, SystemEncoding);

            return tree.Split();
        }
GitModule