I'm getting inconsistent responses by using the GitHub API to compare two commits. Sometimes it returns fine, sometimes I get a response that includes all of the right information, except for an empty
It seems to only come back incorrectly when it's comparing commits from master rather than another branch created from master. That's the only pattern I've detected with it so far.
When I use a browser to compare the commits, it's displaying all of the right files there. And I'm only comparing two commits that were back to back, so it's not like it's hitting the 250 commit limit to compare between.
Any idea why the GitHub API wouldn't include the files section properly every time?
Subscribe to get latest updates