Yes, clearly the guy used a script to create as many empty commits as he could. It's now supposedly the repo with the most commits, but it's just a hack. I guess the bookmarks are just things the guy likes and hopes people will click on after reaching the "most commits" repo.
Using a simple shell for-loop, I could create 10000 commits in 25 seconds (= 400 per second) with the code below. The 4.2 million commits should take around 3 hours to create at this pace.
Looking at the most recent 10000 commits in the repository, it doesn't seem like the creator ever got more than 20 commits per second, which means it would take on the order of 60 hours for the creator to make this many commits.
$ git clone https://github.com/IThinkImOKAY/IThinkImOKAY && cd IThinkImOKAY
$ t=`git write-tree`
$ h=`git rev-parse @`
$ date; for i in `seq 1 10000`; do h=`echo lol|git commit-tree $t -p $h`; done; date
Wed Jun 9 05:20:11 PM CEST 2021
Wed Jun 9 05:20:36 PM CEST 2021
They are ruining / skewing the stats of that plugin in the readme for others, it uses an algo to determine profile rankings based on everyone elses stats.
22 comments
[ 4.2 ms ] story [ 61.9 ms ] threadMust be so clever, top class! /s
https://github.com/IThinkImOKAY/IThinkImOKAY/commit/2b0f9ca8...
Just a script that commits nothing constantly? The bookmarks are ... non related? I don't understand at all!
Thought I'd missed some larger joke/meme/issue thing!
I was wondering if there was a way to find the most commits in a repo, and a google showed this as first hit: https://github.com/virejdasani/Commited
Looking at the most recent 10000 commits in the repository, it doesn't seem like the creator ever got more than 20 commits per second, which means it would take on the order of 60 hours for the creator to make this many commits.
https://github.com/damng/hackernews-rss-with-inlined-content
5539299 (infinity mark on github) commits, 336.00 MiB on remote (2.2GiB to 24GiB local)