I am trying to compare two repositories (one is fork of the other), the official way using compareand return to 2017-02-11:
https://github.com/bitcoin/bitcoin/compare/ master @ {2017-02-11} ... UnitedBitcoin: master @ {2017-02-11}
What returns:
There isn’t anything to compare.
But when I use Github GraphQL to extract all the commits from both repositories, and then measure the intersection, I get 218 commits that have the same one sha. Below is the query that I use to get commits from a single repo:
{
repository(owner: "bitcoin", name: "bitcoin") {
defaultBranchRef {
target {
... on Commit {
history(first: 100, since: "2017-02-11T00:00:00Z") {
totalCount
edges {
node {
committedDate
oid
}
}
pageInfo {
startCursor
endCursor
hasNextPage
}
}
}
}
}
}
}
How can this be explained? Why are both results different?
FYI: " " , (sha) .