{"version":"2.1.281","anchor":"git-diff-stats-can-be-restricted-to-a-root-directory","canonical_anchor":"git-diff-stats-can-be-restricted-to-a-root-directory","heading":"Git diff stats can be restricted to a root directory","tier":null,"area":null,"url":"https:\/\/changelogs.core-directive.com\/v\/2.1.281\/e\/git-diff-stats-can-be-restricted-to-a-root-directory","release_url":"https:\/\/changelogs.core-directive.com\/v\/2.1.281","markdown":"### Git diff stats can be restricted to a root directory\n\nClaude Code's git change counts can now be limited to files inside one folder\n\n**Unclear.** The finding does not say which part of Claude Code passes a root folder.\n\n**What**\n\nClaude Code has a helper that counts changed files and lines using git. It can now be given a root folder. With a root, it counts only files inside that folder, using `--numstat` for per-file counts. The limit on how many files it counts is applied after that filtering.\n\n**Why**\n\nChange counts can now describe one part of a repository rather than all of it."}