github-readme-stats icon indicating copy to clipboard operation
github-readme-stats copied to clipboard

Total commit count with include_all_commits=true is no longer correct

Open MacroPower opened this issue 5 years ago • 15 comments

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.

MacroPower avatar Sep 30 '20 14:09 MacroPower

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.

IliasMariosG avatar Oct 01 '20 09:10 IliasMariosG

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

techno-disaster avatar Nov 16 '20 05:11 techno-disaster

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[bot] avatar Dec 16 '20 05:12 stale[bot]

This is still an issue.

MacroPower avatar Dec 16 '20 14:12 MacroPower

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[bot] avatar Jan 15 '21 15:01 stale[bot]

This is still an issue.

MacroPower avatar Jan 16 '21 00:01 MacroPower

Yes, same here.

ghost avatar Feb 08 '21 16:02 ghost

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[bot] avatar Mar 11 '21 17:03 stale[bot]

This is still an issue.

ghost avatar Mar 11 '21 17:03 ghost

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?

harryghgim avatar Mar 24 '21 16:03 harryghgim

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[bot] avatar Apr 23 '21 18:04 stale[bot]

Still an issue, ffs.

danglingptr0x0 avatar Jul 20 '21 21:07 danglingptr0x0

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.

danglingptr0x0 avatar Jul 22 '21 14:07 danglingptr0x0

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.

danglingptr0x0 avatar Jul 22 '21 15:07 danglingptr0x0

I think it still a issue!

Elius94 avatar Feb 04 '22 17:02 Elius94

Duplicate of #1515. Lets track this issue there.

rickstaa avatar Sep 24 '22 14:09 rickstaa