Is there a more efficient way of getting the count of additions/deletions related to a commit than looping through every single commit and calling the:
GET /repos/:owner/:repo/commits/:sha
(https://developer.github.com/v3/repos/commits/)
Just to get the:
"stats": {
"additions": 104,
"deletions": 4,
"total": 108
},
Data?
Unfortunately the commits endpoint:
GET /repos/:owner/:repo/commits
Contains a lot of data about each commit but not this detail which means a huge number of additional API calls to get it.