Uploaded image for project: 'Bitbucket Cloud'
  1. Bitbucket Cloud
  2. BCLOUD-22438

Not able to see individual files in Pull Requests when binary files were moved/changed

XMLWordPrintable

      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

      1. Create a few large binary files (~300MB) in the master branch
      2. Create a feature branch from the master branch
      3. 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
      4. Create a Pull Request from the feature branch to the master branch
      5. 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

              Unassigned Unassigned
              641e77b2eb21 Patrik S (Inactive)
              Votes:
              4 Vote for this issue
              Watchers:
              6 Start watching this issue

                Created:
                Updated: