Bitbucket truncates the diff view of a pull request such that all changes may not be visible.
- Create a branch
- Create a file with 10001 lines
- Change line 1 and line 10001
- Create a pull request
Both changes are seen in the diff view
Only the change in line one is visible along with an option to "show 99xx more lines" with the second change unable to be brought up. The default value of page.max.diff.lines is 10000.
NOTE This setting can cause performance overhead. It is recommended to test this setting in a controlled environment first.
- Add page.max.diff.lines=<number of lines in your largest file you expect to work with> to the bitbucket.properties file
- Restart Bitbucket