Thomson
Thomson

Reputation: 21625

Download full diff from Github

Github supports downloading a diff/patch for given pull request, but this diff/patch only contain limited context lines, is there a way or tool which could download the full diff then I can open it offline without any dependency on the repo?

Upvotes: 1

Views: 932

Answers (1)

VonC
VonC

Reputation: 1324278

I don't think so:

As mentioned in "Diff and patch media types", you can get .diff and .patch content directly from the API for the following resources:

However, nowhere in those API definition would you see a "context" parameter which would enable you to get more lines around each diff.

Upvotes: 1

Related Questions