Our repository is 99 MB for 2.4 MB of files, and one Windows installer committed for 28 hours is 98.7 per cent of it
The Notifio repository holds a desktop app and a website, and it is small. Run git ls-files and you get 185 files. Add up their sizes at HEAD and you get 2,377,273 bytes, of which the website is 1.76 MB and the app is 0.62 MB. You could mail it.
Then I ran git count-objects -vH and the pack was 98.79 MiB.
Finding the weight
The quickest way to see which objects dominate a repository is to list every blob ever stored and sort by size:
git rev-list --objects --all \
| git cat-file --batch-check='%(objecttype) %(objectname) %(objectsize) %(objectsize:disk) %(rest)' \
| awk '$1=="blob"' | sort -k3 -n -r | head
The first row is app/release/notifio-setup.exe: 102,265,077 bytes, which is 97.53 MiB. It compresses to 102,254,145 bytes on disk, because an installer is already compressed, so the pack barely shrinks it. That one object is 98.7 per cent of the pack.
The next largest blob is 695 KB. It is server/tsconfig.tsbuildinfo, which I wrote about in Our repository commits a 668 KB TypeScript cache, and there are more than ten versions of it in history. Even all of them together are a rounding error beside the installer.
How it got there
git log --diff-filter=A for that path shows one commit: f359855, on 20 July 2026 at 14:44, titled "made changes to app". It is the second commit in the repository. The build output folder was not in .gitignore yet, so the installer went in with everything else.
Twenty-eight hours later, commit f5da53f removed it. The message says "Remove release binaries from git tracking; fix .gitignore". That is why HEAD is clean: app/release/ is now ignored, along with playwright-browsers/ and the other build outputs.
If you only look at the working tree, as most measurements of a repository do, you cannot see that anything ever went wrong.
Why deleting it did not help
A commit that removes a file adds a new tree. It does not remove the old blob, because the earlier commits still reference it. Every clone downloads the whole history, so a new contributor, a CI runner or a deploy that does a full fetch pulls roughly 99 MiB to get 2.4 MB of code.
Two details make it worse:
- The release tag,
v1.0.1, sits on commit5c6518d, four minutes after the one that added the installer. The tagged release contains the 97.5 MiB file. - GitHub's documented limits are a warning above 50 MiB and a rejection above 100 MiB per file. This file is 2.5 MiB under the hard limit. A slightly larger Electron build the same day would have refused to push at all, and I would have found out in the middle of a release.
The installer itself is not secret. It is the same kind of file you can download from /download. The cost is only bandwidth, disk and time, which is a quiet kind of cost.
What I have not done
Removing it properly means rewriting history with git filter-repo --path app/release/notifio-setup.exe --invert-paths, force-pushing, and moving the tag. That changes every commit hash after the second one, and it breaks any existing clone. For a one-person repository with no CI that is a manageable job. I have not done it, because it is a decision for the repository's owner and not a side effect of a blog post.
The less drastic fix is the one that already happened: ignore the output folder. The rule that would have prevented it is also small. The installers are meant to live in object storage, and I described that split in Our release doc says 600 MB. The download is 278.
The measurement to take on your own repository
Everyone looks at the working tree. Do this once on yours:
git count-objects -vHand comparesize-packwith the size of a fresh checkout.- If the pack is bigger by an order of magnitude, run the cat-file command above.
git log --all --find-object=<blob> --format='%h %ad %s'tells you which commits touched it.
Mine took five minutes and found one file. The product it belonged to is live at notifio.app, and the Windows and Mac downloads are on the download page.
Comments
No comments yet. Start the discussion.