-
Bug
-
Resolution: Fixed
-
Low
-
None
-
1
-
Severity 3 - Minor
-
144
-
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
- In an existing repository, push a file with 3000+ lines of code to the main branch
- Create a new branch from the main branch and clone the newly created branch locally
- Edit the large file and delete 1500+ lines and 1500+ then rename the file
- Commit and push changes
- 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)