Pull-Request-Squash-Commit (#1245)

This commit is contained in:
Sarmad
2016-05-20 13:34:41 +05:00
committed by Brendan Forster
parent 1b51717f8d
commit 3f3930253c
5 changed files with 34 additions and 3 deletions
+2 -1
View File
@@ -119,7 +119,8 @@ namespace Octokit
try
{
var endpoint = ApiUrls.MergePullRequest(owner, name, number);
return await ApiConnection.Put<PullRequestMerge>(endpoint, mergePullRequest).ConfigureAwait(false);
return await ApiConnection.Put<PullRequestMerge>(endpoint, mergePullRequest,null,
AcceptHeaders.SquashCommitPreview).ConfigureAwait(false);
}
catch (ApiException ex)
{