This commit is contained in:
Amy Palamountain
2014-02-19 22:00:56 +13:00
parent fa9c618302
commit cd5627c824
5 changed files with 55 additions and 5 deletions
+11 -4
View File
@@ -1,11 +1,10 @@
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using System.Diagnostics;
using System.Globalization;
namespace Octokit
{
[DebuggerDisplay("{DebuggerDisplay,nq}")]
public class Branch
{
/// <summary>
@@ -17,5 +16,13 @@ namespace Octokit
/// The <see cref="GitReference"/> history for this <see cref="Branch"/>.
/// </summary>
public GitReference Commit { get; set; }
internal string DebuggerDisplay
{
get
{
return String.Format(CultureInfo.InvariantCulture, "Name: {0}", Name);
}
}
}
}