GitUI.RevisionGrid.GetHeadColor C# (CSharp) Method

GetHeadColor() private static method

private static GetHeadColor ( IGitRef gitRef ) : Color
gitRef IGitRef
return Color
        private static Color GetHeadColor(IGitRef gitRef)
        {
            if (gitRef.IsTag)
                return AppSettings.TagColor;
            if (gitRef.IsHead)
                return AppSettings.BranchColor;
            if (gitRef.IsRemote)
                return AppSettings.RemoteBranchColor;
            return AppSettings.OtherTagColor;
        }
RevisionGrid