Fix for commits without a parent not returning a diff
Fix for commits without a parent not returning a diff

Currently, the route /repos/{repo}/commits/{id} will not return a diff if the
commit has no parent. This fixes that.

Testing Done:
Made sure that a diff is returned even when the commit has no parent.

Reviewed at https://reviews.reviewboard.org/r/7054/

reviewboard/rb-gateway