[PATCH 0/3] repo: extend info path reporting and structure statistics
- From
- eslam reda via GitGitGadget <gitgitgadget@gmail.com>
- Date
- Feb 22, 2026, 18:28 UTC
- Message-ID
- <pull.2208.git.git.1771784936.gitgitgadget@gmail.com>
This series improves git repo info and git repo structure.
For git repo info, it:
* removes reliance on global repository state in this command path * supports category keys (e.g. layout, path) * adds rev-parse-like path keys and git-path-derived keys * adds --path-format=(absolute|relative) for path output control
For git repo structure, it adds deeper repository metrics inspired by git-sizer:
* max inflated and max disk size per object type * max commit parent count * max tree entry count * max blob path length/depth * max annotated tag chain depth * aggregate keyvalue/nul totals and maxima
Tests and docs are updated accordingly.
Validation:
* t/t1900-repo.sh * t/t1901-repo-structure.sh * full make -j4 test in Docker (failed 0)
Eslam reda ragheb (2): t1900,t1901: make repo tests hash-agnostic and wc-portable t1900,t1901: fix test portability issues
eslam-reda-div (1): repo: extend info paths and structure statistics
Documentation/git-repo.adoc | 67 ++++- builtin/repo.c | 525 ++++++++++++++++++++++++++++++++++-- t/t1900-repo.sh | 196 ++++++++++++++ t/t1901-repo-structure.sh | 250 ++++++++++++----- 4 files changed, 948 insertions(+), 90 deletions(-)
base-commit: 7c02d39fc2ed2702223c7674f73150d9a7e61ba4 Published-As: https://github.com/gitgitgadget/git/releases/tag/pr-git-2208%2Feslam-reda-div%2Fgsoc-contribute-v1 Fetch-It-Via: git fetch https://github.com/gitgitgadget/git pr-git-2208/eslam-reda-div/gsoc-contribute-v1 Pull-Request: https://github.com/git/git/pull/2208
-- gitgitgadget