grit://cooking/dogfood← what’s cooking
Monday, November 2, 2026 · macOS 15 (Darwin 24.6.0)

Dogfood on scott-mbp: Git power user switching over

7 repos · 35 commands · 7 broken · 3 slow · 5 filed

Git power user on macOS (APFS, case-insensitive): I ran grit main (0.5.28, b0818e712) over git-made advanced repos (split index, index v4/skipHash, reftable, sha256, cone sparse index, linked worktrees, submodules, shallow/partial clones, cruft packs, bundles, includeIf configs, CRLF/filter attributes, fsmonitor) and alternated git and grit through a day of work. On-disk interop is very solid: every fsck --strict stayed clean and no repository was corrupted. I filed 5 issues (#2520 shallow-clone show/log -p/blame failures, #2523 commit auto-stage ignoring status.showUntrackedFiles=no, #2524 submodule ignore config, #2521 assume-unchanged flag loss, #2522 case-only directory renames). Of the 6 fixes re-checked, 5 are fixed and #2472 is only partly fixed.

os
macOS 15 (Darwin 24.6.0) · arm64
machine
scott-mbp (agador.sparticus), Apple M3, 8 cores, 24 GB RAM
versions
grit 0.5.0 (on PATH, only used as a reference) · main b0818e71 · 2.52.0 (Homebrew). Note: ~/bin/git is a 2.48.1 dev build that shadowed it in bash; I re-ran all baselines that mattered with 2.52.0.
repositories7
repofilescommits.gitnotes
rust-lang/cargo (bare)3,07823,61181 MBalso cargo-adv (split index + MIDX/bitmap + commit-graph), --shared and --no-hardlinks clones, shallow depth 1/5/20, blob:none
octocat/Hello-World131 MBshallow repro
scratch/wide-120k120,000121 MBfast-import generated, plus a branch changing 8k files
scratch/reftable441 MBgit init --ref-format=reftable
scratch/sha256441 MBgit init --object-format=sha256
scratch/submodule-main341 MBgit submodule add
scratch/sparse-index (cargo)3,08023,61481 MBcone sparse-checkout --sparse-index
commandsgrit vs. system git, wall time
commandrepogritgitgrit/gitresultnotes
grit statusrust-lang/cargo (bare)12 ms11 ms1.1×okcargo-adv, split index
grit log -n 50rust-lang/cargo (bare)4.4 ms4.3 ms1.0×ok
grit revs HEAD --countrust-lang/cargo (bare)7.8 ms6.5 ms1.2×okwith commit-graph
grit log --oneline -- Cargo.tomlrust-lang/cargo (bare)40 ms20 ms2.0×ok2.0x
grit blame Cargo.tomlrust-lang/cargo (bare)38 ms27 ms1.4×ok3 of 127 README.md lines attributed to a different commit than git (ambiguous blank-line diff), not filed
grit diff --stat HEAD~3000 HEADrust-lang/cargo (bare)64 ms122 ms0.5×ok
grit log --since=2024-01-01 -n 100000 --onelinerust-lang/cargo (bare)106 ms48 ms2.2×okoutput identical to git (7255 commits); also identical for --author, --grep, --merges, --first-parent, --skip, -S
grit log --author=alex --oneline -n 100000rust-lang/cargo (bare)158 ms131 ms1.2×ok
grit fsckrust-lang/cargo (bare)1.00 s4.03 s0.2×ok
grit gcrust-lang/cargo (bare)2.40 s——ok195k objects repack 825 ms + commit-graph 484 ms (bloom kept), git fsck clean
grit revs HEAD --count (shared clone)rust-lang/cargo (bare)252 ms101 ms2.5×ok#2472 residual: unshared 156 ms
grit log --oneline -n 20000 (shared clone)rust-lang/cargo (bare)342 ms110 ms3.1×slow3.1x git, 2.0x unshared (#2472)
grit blame Cargo.toml (blob:none clone)rust-lang/cargo (bare)41.00 s26.89 s1.5×ok943 packs vs 43 for git; 1.5x slower, not filed
grit status (clean, first run)scratch/wide-120k2.04 s2.02 s1.0×ok2.2x memory
grit status (second run)scratch/wide-120k258 ms201 ms1.3×ok
grit switch wide (8k files change)scratch/wide-120k364 ms1.17 s0.3×ok
grit commit (1 file edited)scratch/wide-120k462 ms217 ms2.1×ok2.1x (cf. #1884)
grit stash (5k modified)scratch/wide-120k1.25 s2.13 s0.6×ok
grit stash pop (5k)scratch/wide-120k297 ms1.00 s0.3×ok
grit commit (5k modified)scratch/wide-120k779 ms302 ms2.6×memory2.6x slower, 2.9x memory; not filed (same area as #1884)
grit reset --hard HEAD~1scratch/wide-120k384 ms528 ms0.7×ok
grit gcscratch/wide-120k682 ms637 ms1.1×ok
grit fsckscratch/wide-120k445 ms215 ms2.1×memory3.5x memory, 2.1x time; not filed (cap, borderline)
grit show HEAD (depth 1 clone)octocat/Hello-World———error#2520
grit blame README (depth 1 clone)octocat/Hello-World———error#2520
grit commit (status.showUntrackedFiles=no)scratch/dotfiles———wrong#2523
grit status (diff.ignoreSubmodules=all)scratch/submodule-main———wrong#2524
grit stash (dirty submodule only)scratch/submodule-main———wrong#2524
grit reset --hard / merge / stash with assume-unchanged filescratch/assume-unchanged———wrong#2521
grit switch lower (Foo/ -> foo/)scratch/case-dir———wrong#2522
grit commit / branch / tag / switch / gc / worktree add on reftablescratch/reftable———okgit fsck --strict clean, git for-each-ref and reflog agree
grit commit / gc / stash / notes / clone / push on sha256scratch/sha256———ok
grit commit / switch / stash on cone sparse indexscratch/sparse-index (cargo)———okskip-worktree entries preserved (3044), fsck clean
grit bundle create/verify/list/clonescratch/bundles———okboth directions with git
grit gc after git gc --cruftscratch/gc-cruft———okrecent unreachable object kept as loose, fsck clean; repack with .keep pack re-packs the 15 objects already in the kept pack (duplicates), not filed
worked9
  • ›Interop on disk: git fsck --strict stayed clean after every grit write on split-index, index v4+skipHash, reftable, sha256, sparse-index, linked-worktree and cruft-pack repos
  • ›rerere, notes.rewriteRef, replace refs and skip-worktree fixes all hold on macOS
  • ›includeIf (gitdir, gitdir/i, onbranch, hasconfig) and include reads match git; commit author picks the right identity
  • ›autocrlf/eol/text/ident/clean/smudge matrix identical to git for index contents and checkout bytes
  • ›NFD file names are stored NFC like git with precomposeunicode; case-only mv, symlinks, modes and typechanges are correct
  • ›gc racing 80 grit commits (grit gc and git gc) lost nothing; kill -9 during switch left only a stale index.lock
  • ›log filters (--since/--until/--author/--committer/--grep/--invert-grep/--merges/--first-parent/--skip/-S) return exactly git's commits on cargo, often faster
  • ›push/fetch/clone against a local bare repo with pre-receive/update hooks show remote messages and honor force-with-lease
  • ›grit refuses to --continue a rebase that git started rather than clobbering it
problems16
  • ›#2520 show / log -p / log --stat / diff HEAD~1 / blame fail 'revision <oid> not found' at the shallow boundary (filed)
  • ›#2523 grit commit auto-stage ignores status.showUntrackedFiles=no (filed)
  • ›#2524 status/diff ignore diff.ignoreSubmodules / submodule.*.ignore; stash saves an empty entry for a dirty submodule (filed)
  • ›#2521 assume-unchanged flag cleared by stash/reset/merge (filed)
  • ›#2522 case-only directory rename kept as old case by switch/merge ff/pick on APFS (filed)
  • ›#2472 shared clone walks still 2-3x slower than git (reopened via verify_fix)
  • ›fsck on a 120k-file repo: 3.5x git's memory (209 MB vs 61 MB), not filed (cap, borderline)
  • ›commit of 5k modified files: 2.6x slower and 2.9x memory vs git, not filed (overlaps #1884)
  • ›grit pick/revert skip prepare-commit-msg and post-commit hooks that git runs; not filed (minor)
  • ›grit rebase also rewrites other local branches pointing into the rebased range (refs/heads/sub moved) by default and preserves merges, unlike git's default; documented design, but a surprise for git users
  • ›grit repack with a .keep pack re-packs objects already in the kept pack; not filed (harmless duplicates)
  • ›grit config collapses whitespace after a backslash continuation in values; not filed (cosmetic)
  • ›blame on blobless clone fetches blobs in 943 separate packs (git 43), 1.5x slower; not filed
  • ›grit blame attributes 3 of 127 README.md lines to a different (equally plausible) commit than git; not filed (diff heuristic)
  • ›grit push of an unknown local ref says 'rejected ... funny refname' instead of 'src refspec does not match'; not filed (cosmetic)
  • ›git 2.52 itself aborts ('BUG: wt-status.c:585') with feature.manyFiles + core.splitIndex; not a grit bug
bugs filed5
#2520 #2521 #2522 #2523 #2524already reported: #2201 #2054 #2275
next time
  • ›Library program against grit-lib: collect_referenced_object_roots/prune_loose_unreachable with a staged blob (#2421 was only checked through the CLI)
  • ›Shallow boundary handling across the whole CLI (describe, merge-base, pick, history, rebase, push) after #2520 is fixed, and unshallow/deepen round-trips with git
  • ›core.fsmonitor with a real watchman hook and the untracked-cache extension written by grit
  • ›Real git-lfs server (git-lfs is not installed here) and filter.lfs.process long-running filters; grit seems to use only clean/smudge
  • ›HTTPS/ssh push and fetch to GitHub with a credential helper (#2338), still no credentials
  • ›submodule update/--recurse workflows, and nested submodules with grit switch/reset across commits that move gitlinks
  • ›core.autocrlf with safecrlf=true failures and .gitattributes-driven renormalize
  • ›gc --auto racing grit commit on git/git with kill -9 and MIDX with several packs