You signed in with another tab or window.Reload to refresh your session.You signed out in another tab or window.Reload to refresh your session.You switched accounts on another tab or window.Reload to refresh your session.Dismiss alert
{{ message }}
This repository was archived by the owner on Nov 1, 2017. It is now read-only.
Copy file name to clipboardExpand all lines: content/v3/repos/commits.md
+6-1Lines changed: 6 additions & 1 deletion
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -59,5 +59,10 @@ patch formats.
59
59
60
60
<%= json:commit_comparison %>
61
61
62
-
Note: 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.
63
62
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.