Pull request is too large to render
The following message appears when viewing a pull request:
This pull request is too large to render. Showing the first 1000 files.
Stash is coded to show the first 1000 files by default. Showing more than 1000 files will impact the performance of the browser, due to the way Stash renders the file tree. This is particularly noticeable in older browsers and Internet Explorer. There is also a smaller impact on the server, due to processing the output of the Git command required to fetch the files, but is less noticeable with moderately larger values.
Please note that increasing the limit is not recommended and will have a performance impact.
- Stop Stash.
Add the following property into stash-config.properties to increase the limit to 2000 files (create one if it doesn't exist):
See Stash config properties for more information.
Additional step for Stash 1.3.0 or older
Modify $STASH_INSTALL/atlassian-stash/static/feature/changeset/difftree/difftree.js to increase the following value:
var CHANGESET_LIMIT = 1000;
- Restart Stash.