From a2129d26f6e163353e3e3089e8482eb29f71d699 Mon Sep 17 00:00:00 2001 From: Daniel Wagner-Hall Date: Sat, 12 Dec 2015 17:11:24 +0000 Subject: [PATCH 1/2] Clarify commit message construction --- content/v3/pulls.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/content/v3/pulls.md b/content/v3/pulls.md index 4fed2bc8b2..e2122ac4a2 100644 --- a/content/v3/pulls.md +++ b/content/v3/pulls.md @@ -187,7 +187,7 @@ Note: The response includes a maximum of 250 commits. If you are working with a Name | Type | Description -----|------|------------- -`commit_message`|`string`| The message that will be used for the merge commit +`commit_message`|`string`| The message that will be used for the merge commit. Note that the text "Merge pull request #PR from user/branch" will be prepended to the message. `sha`|`string`| SHA that pull request head must match to allow merge From 900c806f83b9be884e25f23d478473df3b6e882b Mon Sep 17 00:00:00 2001 From: Wynn Netherland Date: Fri, 1 Jan 2016 12:13:05 -0600 Subject: [PATCH 2/2] Clearer, more futureproof description for commit_message parameter --- content/v3/pulls.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/content/v3/pulls.md b/content/v3/pulls.md index e2122ac4a2..89e72a030b 100644 --- a/content/v3/pulls.md +++ b/content/v3/pulls.md @@ -187,7 +187,7 @@ Note: The response includes a maximum of 250 commits. If you are working with a Name | Type | Description -----|------|------------- -`commit_message`|`string`| The message that will be used for the merge commit. Note that the text "Merge pull request #PR from user/branch" will be prepended to the message. +`commit_message`|`string`| Extra detail to append to automatic commit message. `sha`|`string`| SHA that pull request head must match to allow merge