If I make a call to the url below it returns a diff with short index SHA’s that are 7 characters each. Is there another diff API call to get the long 40 character SHA index diffs from GitHub?
curl -u user:token -H “Accept: application/vnd.github.diff” https://api.github.com/repos/user/repo/commits/7919b9733ebedd6ceb3eba59bbab31db2a16f79e
Result has 7 character SHA’s not 40 character SHA’s.
diff --git a/test b/test index d1edb92..4bc6ffa 100644 --- a/test +++ b/test @@ -1 +1 @@ -bumble bee +fruit fly