[PATCH v4 0/1] repo: add revision filtering options to "repo structure"
- From
- Mark C. Chu-Carroll <markchucarroll@fastmail.com>
- Date
- Oct 10, 2026, 15:05 UTC
- Message-ID
- <20261010150539.930614-2-markchucarroll@fastmail.com>
- In-Reply-To
- <20260924164503.119506-2-markchucarroll@fastmail.com>
"git repo structure" provides a collection of useful information
about the information stored in a repo. In particular, it's
valuable for diagnosing performance issues caused by large objects
stored in a repo.
The current implementation of "git repo stucture" provides summary
information about everything in the repository - all of the
branches, remotes, tags, stashes, and notes. But sometimes
to properly diagnose a problem, it's useful to be able to get
information about the specific part of the repo that's exhibiting
a problem.
Add the option to specify a set of revs. If revs are included,
then the set of objects processed will be limited based on the
rev specification; otherwise, all objects will be processed.Differences from v3: - Remove inadvertent edits. - Ensure that this is the right version of the patch, because I'm an idiot.
Mark C. Chu-Carroll (1): repo: add revision filtering options to "repo structure"
Documentation/git-repo.adoc | 32 +++++- builtin/repo.c | 32 ++++-- t/t1901-repo-structure.sh | 211 +++++++++++++++++++++++++++--------- 3 files changed, 210 insertions(+), 65 deletions(-)
-- 2.53.0