Skip to content
Discussion options

You must be logged in to vote

From what I understand, the Contributors graph isn't simply a list of every commit that exists in the repository.

GitHub calculates contributor statistics from the repository's current history, with the default branch being particularly important. So after a migration or history rewrite, a commit can still exist and be correctly attributed to a user without necessarily being reflected in the contributor statistics immediately.

I don't think GitHub publicly documents the exact internal indexing process behind the Contributors graph, so I wouldn't assume it's just reading the Git object database directly on every page load.

For a migrated repository, I'd first check that the commit is reach…

Replies: 2 comments

Comment options

You must be logged in to vote
0 replies
Answer selected by MrOptor
Comment options

You must be logged in to vote
0 replies
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Code Search and Navigation Search, navigate, and understand code on GitHub Question Ask and answer questions about GitHub features and usage Welcome 🎉 Used to greet and highlight first-time discussion participants. Welcome to the community! source:ui Discussions created via Community GitHub templates Other Features and Feedback Discussions that fall into "Other" category
3 participants