Skip to content

repo: add revision filtering options to "repo structure"

Mark C. Chu-Carroll git 10 versions – In review

Get series with b4
b4 am [email protected]

Versions newest first · linked by author and title

  1. v8 Latest1 patch 2 repliesIn review
  2. v7 posting 3/31 patch 0 repliesSuperseded
  3. v7 posting 2/31 patch 1 replySuperseded
Earlier versions · 7
VersionPostedPatchesRepliesStatus
v7 posting 1/31 patch2 repliesSuperseded
v61 patch2 repliesSuperseded
v51 patch3 repliesSuperseded
v41 patch3 repliesSuperseded
v31 patch2 repliesSuperseded
v21 patch3 repliesSuperseded
v11 patch2 repliesSuperseded

Patches in v8 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/1repo: add filtering options to "repo structure"Documentation/git-repo.adoc builtin/repo.c t/t1901-repo-structure.sh+247 -132 replies

Reviews trailers per patch

No Reviewed-by, Acked-by or Tested-by trailers for v8 yet.

Read the v8 thread

Cover letter [PATCH v8 0/1] repo: add revision filtering options to "repo structure"

"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 v7:
- Add SHA1 prerequisite for new tests.

Mark C. Chu-Carroll (1):
repo: add filtering options to "repo structure"

 Documentation/git-repo.adoc |  31 +++++-
 builtin/repo.c              |  32 ++++--
 t/t1901-repo-structure.sh   | 197 ++++++++++++++++++++++++++++++++++++
 3 files changed, 247 insertions(+), 13 deletions(-)
Signature · 1 line
2.53.0