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

Renamed large file on pull request does not show diff

XMLWordPrintable

      Issue Summary

      If you have a large file in a PR (e.g. with 3000+ lines) and make changes then rename the file, it does not show diff on a pull request.
      It only shows " File renamed but contents unchanged"

      Steps to Reproduce

      1. In an existing repository, push a file with 3000+ lines of code to the main branch
      2. Create a new branch from the main branch and clone the newly created branch locally
      3. Edit the large file and delete 1500+ lines and 1500+ then rename the file
      4. Commit and push changes
      5. Create a PR from new branch as source and destination as main branch

      Expected Results

      The pull request should show the diff for the file.
      Or at least change the message to something like "diff is too large to show".

      Actual Results

      The file shows " File renamed but contents unchanged" message although there are changes to the file.

      Workaround

      Right now, you can review the file locally through the Git command (e.g. git diff)

              rshi@atlassian.com rachel s
              mcerezo Mark C
              Votes:
              3 Vote for this issue
              Watchers:
              5 Start watching this issue

                Created:
                Updated:
                Resolved: