iDev
iDev

Reputation: 2411

Github pull request diff

Naive question for github pull request api. I found from Github API documentation ProTip that pullrequest.diff gives unified diff.

However, going through the documentation for Pull request as well as for Pagination, I cannot clearly figure out if for large diff in a pull request, is the response paginated?

I hope its not an overlook on my part, but if anybody can point me to that info, it would really help.

Upvotes: 2

Views: 634

Answers (1)

Schwern
Schwern

Reputation: 164639

I assume you're referring to https://github.com/org/repo/pull/123.diff to get the diff for PR 123.

The unified diff format has no concept of pagination.

Emperical testing says no, it is not paginated.

Upvotes: 1

Related Questions