-
Bug
-
Resolution: Unresolved
-
Medium
-
None
-
7
-
Severity 3 - Minor
-
466
-
Issue Summary
According to Limits for viewing content and diffs , when a pull request exceeds the diff limit, the file diffs should be loaded individually.
However, when moving/changing a large binary file in the source branch of a Pull Request, the diff just timeout, and the other small files changed in the source branch are not being loaded individually. Users cannot see the list of what files changed in the UI either.
Steps to Reproduce
- Create a few large binary files (~300MB) in the master branch
- Create a feature branch from the master branch
- On the feature branch, move the large binary files to a different folder. Also, create or make small changes to other text files. Push the changes to bitbucket
- Create a Pull Request from the feature branch to the master branch
- Try to load the diff of the pull request
Expected Results
Pull requests would allow seeing the file diffs individually. Binary diffs would not be shown, but the small text file diffs should be calculated.
Actual Results
The pull request diff times out and the user is not able to see any diff, even for the small text files.
Workaround
- Push a change to the source branch to remove the binary files from it, as this will likely resolve the diff timeout. Add the binary files in a separate branch where you don't need the diffs to be calculated.
- Convert the binary files to LFS following the instructions of Migrate a repo to git lfs