This happens to me both with Compare view as well as standard commits that are large in the amount of files changed.
The screenshot below is from a compare between two branches with 380 files changed. The files at the beginning of the diff log have their diffs visualized but at a certain point down the page it stops visualizing the diffs. I understand you don't want massive pages but I can't seem to find a way to view a file's diff individually. Instead I have to check these both out locally and do the diff manually.
Does anyone have a simpler solution whether it be software driven or (preferably) a link i'm missing on github?

Adding .patch
to the end of the URL somewhat helps. Removes the nice UI and comment functionality, of course.
An example. If your pull request is: https://github.com/JustinTulloss/zeromq.node/pull/47, then the patch can be found at https://github.com/JustinTulloss/zeromq.node/pull/47.patch
Official support answer as of Feb 19th / 2013 via Brian Levin @github.
We have some limits on diffs that we show in the browser in order to keep the pull request and compare pages working. Currently, we cut them off at 300 files, a total diff of 1MB, and an individual diff of 100KB.
If your diffs exceed the limits and can't be viewed online, you can always pull the changes locally and view the diff there. It may not be as convenient for you, but it'll get the job done.
This sounds like a bug on github. But you could see similar statistics using git diff on the command-line. And if you really want a graphical tool, perhaps installing something like meld would help.
git config --global diff.tool meld
git difftool master..devel
The best local comparison I've found to use is to use IntelliJ's built in comparison. Adding comments is a pain, but everything else works well. Perform the following steps:
- Identify the file you're interested in, say "myClass.java"
- Pull the latest from your develop and your branch, call it compare_branch
- checkout the latest by
git checkout compare_branch
- Open IntelliJ, and use double-shift completion to search for the file you need to look at, e.g.
shift-shift myclass.java
to navigate to it. - In IntelliJ's menu, select
VCS -> Git -> Compare with branch -> develop
replacedevelop
with whatever you want to compare against.
Hope this helps someone else.
I had the same issue. If you're looking to keep with the browser experience I've found the following solution:
Open your JavaScript console and execute:
document.querySelectorAll('button.load-diff-button').forEach(button => button.click());
This will freeze the page since all click events are fired at the same time. Have some patience and everting will be loaded. Obviously if the document structure changes one might need to update the above statement.
来源:https://stackoverflow.com/questions/9702795/large-github-commit-diff-not-shown