Support renamed files from GitHub in post-commit UI
Review Request #8577 — Created Dec. 16, 2016 and submitted — Latest diff uploaded
The GitHub client did not support generating the diff for a file renamed
in a change that was retrieved via the post-commit review UI. This has
been corrected. Additionally, the code was somewhat cleaned up to not
shadow thefile
global. The unit test forget_change
has been
updated to add a case for renamed files.
Used the post-commit UI to create a new review request that contained a
renamed file. It worked as expected.