{"push_id":625663331,"size":1,"distinct_size":1,"ref":"refs/heads/release-2.0.x","head":"8c15f47ab2f29b91e3fc4ef4b62df813543bc750","before":"fbb966d65e4a9ce8d3ba635068c86a27613cad2b","commits":[{"sha":"8c15f47ab2f29b91e3fc4ef4b62df813543bc750","author":{"email":"d48e92e0fe6588b5a3f3112bd87e4d5c011e10af@beanbaginc.com","name":"Barret Rennie"},"message":"Attach parent diffs with renamed and modified files\n\nPreviously, if a review request was uploaded with a parent diff it was\npossible that parent diffs would not be attached to `FileDiff`s in the\ncase where the parent diff for a file was the result of a rename and a\nmodify. This would result in the underlying SCM not being able to\nlocate the parent revision and generate the original file for the\ndiffviewer.\n\nNow instead of attaching parent diffs to `FileDiff`s based on the\noriginal file names in the parent diff, we consider the destination\nfile names. This results in parent diffs being correctly attached when\nthey contain a renamed and modified file.\n\nTesting Done:\nRan unit tests.\n\nUploaded a review request with a parent diff that had a modified and\nrenamed file. The diff was visible in the diffviewer when uploaded\nwith this patch applied; it was not visible when it was uploaded\nwithout the patch applied.\n\nReviewed at https://reviews.reviewboard.org/r/7178/","distinct":true,"url":"https://api.github.com/repos/reviewboard/reviewboard/commits/8c15f47ab2f29b91e3fc4ef4b62df813543bc750"}]}