Github comparison gives different results than GraphQL result

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) .

+4
1

, , "" ".

, , :

There isn’t anything to compare.

We couldn’t figure out how to compare these references, do they point to valid commits?

, 2017-02-11 .
, "" - 2017 .
( ).

( : "2017-02-11T00: 00: 00Z" ) ( 2017 ), , 268 ( )

+1

Source: https://habr.com/ru/post/1693559/


All Articles