Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings
This repository was archived by the owner on Nov 1, 2017. It is now read-only.

Commit6ca06fb

Browse files
committed
Merge 'commit-list-limits'
2 parents8d76d25 +834a56d commit6ca06fb

File tree

3 files changed

+8
-1
lines changed

3 files changed

+8
-1
lines changed

‎content/v3/activity/events/types.md

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -287,7 +287,6 @@ Key | Type | Description
287287
`commits[][url]`|`url` | Points to the commit API resource.
288288
`commits[][distinct]`|`boolean` | Whether this commit is distinct from any that have been pushed before.
289289

290-
291290
##ReleaseEvent
292291

293292
Triggered when a[release](/v3/repos/releases/#get-a-single-release) is published.

‎content/v3/pulls.md

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -150,6 +150,8 @@ Name | Type | Description
150150
<%= headers 200 %>
151151
<%= json(:commit) { |h|[h] } %>
152152

153+
Note: The response includes a maximum of 250 commits. If you are working with a pull request larger than that, you can use the[Commit List API](/v3/repos/commits/#list-commits-on-a-repository) to enumerate all commits in the pull request.
154+
153155
##List pull requests files
154156

155157
GET /repos/:owner/:repo/pulls/:number/files

‎content/v3/repos/commits.md

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -60,3 +60,9 @@ patch formats.
6060
<%= json:commit_comparison %>
6161

6262
Pass the appropriate[media type](/v3/media/#commits-commit-comparison-and-pull-requests) to fetch diff and patch formats.
63+
64+
###Working with large comparisons
65+
66+
The response will include a comparison of up to 250 commits. If you are working with a larger commit range, you can use the[Commit List API](/v3/repos/commits/#list-commits-on-a-repository) to enumerate all commits in the range.
67+
68+
For comparisons with extremely large diffs, you may receive an error response indicating that the diff took too long to generate. You can typically resolve this error by using a smaller commit range.

0 commit comments

Comments
 (0)

[8]ページ先頭

©2009-2025 Movatter.jp