I decided to see how many commits GitHub (and git) could take before acting kind of wonky. At ~19 million commits (and counting) to master: it’s wonky.

The GitHub API has periodic issues merging/creating PRs. (I use PRs since that is more reliable than keeping a local master up to date via pulling at this point).

GitHub reports… infinity commits. Doing a full clone from GitHub Actions is taking around 2 hours.

Using:

git pull origin master

to update my local master hangs for a while before even printing anything.

If anyone has seen a public GitHub repo with more commits to its main branch, let me know.

If anyone wants to see how slow wonky git acts at this scale, feel free to clone.

Edit: Update to this post is: https://sh.itjust.works/post/672069

31 points

Was this you? 🫤

permalink
report
reply
12 points

Some people just want to see the world burn. Haha.

permalink
report
reply
7 points

It feels like it’s radiating chaotic energy for the sake of learning and I’m a fan

permalink
report
parent
reply
6 points

I love it.

These are the types of people to find something “Huh, that’s a weird reaction”

permalink
report
parent
reply
8 points

So what’s next?

permalink
report
reply
6 points

Part of me wants to try to look into the git cli to try to see why some of the hangs happen. I don’t think any sort of hang with no output (at least with -v) should happen normally.

Who knows if I’ll get to that point.

Otherwise I’ll let it just keep committing.

permalink
report
parent
reply
1 point

permalink
report
parent
reply
6 points

This might be good to cross post to !programming_horror@programming.dev … 😱

permalink
report
reply
4 points

I wonder if the size of the commits also plays a role.
The latests commits are just an index being incremented, it’d be interesting to update the script to replace and commit lorem impsum text (maybe two or three paragraphs would be a good base)

permalink
report
reply

Git

!git@programming.dev

Create post

Git is a free and open source distributed version control system designed to handle everything from small to very large projects with speed and efficiency.

Resources

Rules

  1. Follow programming.dev rules
  2. Be excellent to each other, no hostility towards users for any reason
  3. No spam of tools/companies/advertisements. It’s OK to post your own stuff part of the time, but the primary use of the community should not be self-promotion.

Git Logo by Jason Long is licensed under the Creative Commons Attribution 3.0 Unported License.

Community stats

  • 57

    Monthly active users

  • 217

    Posts

  • 904

    Comments