Fix for commits without a parent not returning a diff

Review Request #7054 — Created March 12, 2015 and submitted — Latest diff uploaded

Information

rb-gateway
master
023801e...

Reviewers

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.

Diff Revision 2

This is not the most recent revision of the diff. The latest diff is revision 3. See what's changed.

orig
1
2
3
git_repository.go
Loading...