Details
Description
Issue Summary
Bitbucket truncates the diff view of a pull request such that all changes may not be visible.
Steps to Reproduce
- Create a branch
- Create a file with 10001 lines
- Change line 1 and line 10001
- Create a pull request
Expected Results
Both changes are seen in the diff view
Actual Results
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.
Workaround
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
Attachments
Issue Links
- relates to
-
BBSDEV-19609 Loading...