Details
-
Bug
-
Resolution: Fixed
-
Low
-
None
-
Severity 3 - Minor
-
13,469
-
3
-
Description
Issue Summary
File renaming causes the file in the PR using the New pull request experience to count as a deletion of older file and creation of new file.
If the number of lines in the file is more than 2000 lines, UI is unable to render the file and generates an error message:
"Diff too large
The diff for this file is too large to render."
Steps to Reproduce
- Create a file with more than 2000 lines.
- Rename the file.
- Create a Pull request with this commit
Expected Results
The Pull request should show "File renamed but contents unchanged." message for renamed files.
Actual Results
Pull request UI is unable to render the file and generates an error message:
"Diff too large
The diff for this file is too large to render."
Workaround
- Ignore the error and files which have been renamed in Pull request
- Disable New pull request experience and enable Old pull request experience Lab Feature.