Fix for commits without a parent not returning a diff
Review Request #7054 — Created March 12, 2015 and submitted — Latest diff uploaded
Currently, the route /repos/{repo}/commits/{id} will not return a diff if the commit has no parent. This fixes that.
Made sure that a diff is returned even when the commit has no parent.