mirror of
https://github.com/zoriya/octokit.net.git
synced 2026-06-02 10:55:53 +00:00
Pull-Request-Squash-Commit (#1245)
This commit is contained in:
@@ -22,11 +22,21 @@ namespace Octokit
|
||||
/// </summary>
|
||||
public string Sha { get; set; }
|
||||
|
||||
/// <summary>
|
||||
/// The Title for the automatic commit message (optional)
|
||||
/// </summary>
|
||||
public string CommitTitle { get; set; }
|
||||
|
||||
/// <summary>
|
||||
/// Commit a single commit to the head branch (optional)
|
||||
/// </summary>
|
||||
public bool Squash { get; set; }
|
||||
|
||||
internal string DebuggerDisplay
|
||||
{
|
||||
get
|
||||
{
|
||||
return string.Format(CultureInfo.InvariantCulture, "Message: '{0}', Sha: '{1}'", CommitMessage, Sha);
|
||||
return string.Format(CultureInfo.InvariantCulture, "Title: '{0}' Message: '{1}', Sha: '{2}' , Squash: '{3}'", CommitTitle, CommitMessage, Sha, Squash);
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user