Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Total commit count with include_all_commits=true is no longer correct #518

Closed
MacroPower opened this issue Sep 30, 2020 · 17 comments · May be fixed by #1691
Closed

Total commit count with include_all_commits=true is no longer correct #518

MacroPower opened this issue Sep 30, 2020 · 17 comments · May be fixed by #1691
Labels
bug Something isn't working. stats-card Feature, Enhancement, Fixes related to stats the stats card.

Comments

@MacroPower
Copy link

Describe the bug
My total commits (include_all_commits=true) is a much smaller number than my 2020 commits (include_all_commits=false).

Expected behavior
Total commits (2020) should be less than or equal to Total commits.

Screenshots / Live demo link
include_all_commits=true:
https://github-readme-stats.vercel.app/api?username=macropower&include_all_commits=true
image

include_all_commits=false:
https://github-readme-stats.vercel.app/api?username=macropower&include_all_commits=false
image

Additional context
This was working fine until about a week ago, with include_all_commits=true resulting in total commits over 1k.

@IliasMariosG
Copy link

IliasMariosG commented Oct 1, 2020

Issue
My total commits (include_all_commits=true) is a smaller number than my commits as they were shown a few weeks ago.
I do not have a screenshot to provide evidence, so I will just say that I have a strong feeling that until a few weeks ago, the total commits were significantly higher. I remember this because of the comparison I could make between the commits presented in the badge and the contributions shown by GitHub.

Screenshots
Right now, total commits are 219 ( Screenshot 2020-10-01 at 12 12 09 PM) and contributions on GitHub are 273 (
Screenshot 2020-10-01 at 12 14 51 PM).

Additional context
Right now, the difference between those two is small, but it used to be significantly larger (around 400 commits shown in the badge). I guess that the calculation method applied, calculates/used to calculate the local commits someone makes? My intuition says that local commits are/used to be calculated. I could not explain such a big difference otherwise.

Thank you, and I'm sorry that it's not possible to provide evidence, as I have not captured a screenshot.

@techno-disaster
Copy link

Yep, I can confirm this, even my number of commits has decreased. @anuraghazra any idea what's up with this?

@stale
Copy link

stale bot commented Dec 16, 2020

This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Thank you for your contributions.

@stale stale bot added the stale Issue is marked as stale. label Dec 16, 2020
@MacroPower
Copy link
Author

This is still an issue.

@stale stale bot removed the stale Issue is marked as stale. label Dec 16, 2020
@stale
Copy link

stale bot commented Jan 15, 2021

This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Thank you for your contributions.

@stale stale bot added the stale Issue is marked as stale. label Jan 15, 2021
@MacroPower
Copy link
Author

This is still an issue.

@stale stale bot removed the stale Issue is marked as stale. label Jan 16, 2021
@ghost
Copy link

ghost commented Feb 8, 2021

Yes, same here.

@stale
Copy link

stale bot commented Mar 11, 2021

This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Thank you for your contributions.

@stale stale bot added the stale Issue is marked as stale. label Mar 11, 2021
@ghost
Copy link

ghost commented Mar 11, 2021

This is still an issue.

@stale stale bot removed the stale Issue is marked as stale. label Mar 11, 2021
@harryghgim
Copy link

Same here.

With include_all_commits=true

Github stats

w/o it.

Github stats

One more thing, I've never pushed as many commits as displayed this year so far. According to my github profile down below, my commits so far this year only 102.
Screen Shot 2021-03-25 at 1 05 25 AM

Suppose the card is somehow counting commits since one year ago from now. Still if that were the case, shouldn't the number of commits at least match either the number with include_all_commits=true or the number with this year only?

Screen Shot 2021-03-25 at 1 07 54 AM

It feels I'm lying about my commits, and I hate being a liar 😅.

Can someone tell me how commit counts work? Am I missing something?

@stale
Copy link

stale bot commented Apr 23, 2021

This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Thank you for your contributions.

@stale stale bot added the stale Issue is marked as stale. label Apr 23, 2021
@simonSlamka
Copy link

Still an issue, ffs.

@simonSlamka
Copy link

I stopped using this repo for my stats because of this. Sad that the maintainer doesn't seem to care anymore. It surely seems like it.

@simonSlamka
Copy link

Yes. You can check out my profile; I'm using lots of various stats. It's all done through GH Actions. If you're interested in any particular one, let me know, and I'll give you a link to the original repo, or you can look it up yourself.

@Elius94
Copy link

Elius94 commented Feb 4, 2022

I think it still a issue!

@rickstaa rickstaa added bug Something isn't working. and removed stale Issue is marked as stale. labels Feb 20, 2022
@rickstaa rickstaa added stats-card Feature, Enhancement, Fixes related to stats the stats card. popular labels Mar 9, 2022
@rickstaa rickstaa removed the popular label Sep 22, 2022
@rickstaa
Copy link
Collaborator

Duplicate of #1515. Lets track this issue there.

@silasoli
Copy link

I stopped using this repo for my stats because of this. Sad that the maintainer doesn't seem to care anymore. It surely seems like it.

I was observing some bugs and researching I saw that several features have unresolved bugs, I'll try to use something similar to yours, I'll research

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working. stats-card Feature, Enhancement, Fixes related to stats the stats card.
Projects
None yet
Development

Successfully merging a pull request may close this issue.

8 participants