Count only the local default branch, as the spec's stale-ref answer
asks (origin/ only names the branch and drives the "behind" warning).
Source files under data/, assets/ and fixtures/ (lib/data/*.dart) now
count as code; vendored and build dirs still drop everything.
Regenerated DOCS-comparison.md.
Bug-class-check: devstats/tests/test_excludes.py (code-under-data-dir cases)
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
`python -m devstats compare` walks ~/src, counts kuhy's default-branch
commits once per piece of work (worktrees, clones and filter-repo copies
folded in), drops lockfiles/generated/vendored/data via excludes.py, and
prints 30/90/300-day net LoC/day, per-active-day vs 194, commits and
tags beside the article's Cmdr figures. --write regenerates
devstats/DOCS-comparison.md (aggregates only); --by-repo is terminal-only.
Read-only: only rev-parse, for-each-ref and log, GIT_OPTIONAL_LOCKS=0.
Bug-class-check: none — new tool, not a bug fix
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>