[GSoC Patch 0/7] repo: add more path keys to git repo info
- From
K Jayatheerth <jayatheerthkulkarni2005@gmail.com>
- Date
- Jul 16, 2026, 01:21 UTC
- Message-ID
- <20260716012138.6714-1-jayatheerthkulkarni2005@gmail.com>
Series adds keys to git repo info. Keys output paths of repository components: * path.toplevel: repository tree. * path.superproject-working-tree: superproject tree from submodules. * path.objects: repository objects. * path.hooks: repository hooks. * path.index: repository index. * path.grafts: repository grafts. * path.git-prefix: prefix offset.
Keys support suffixes for format. Commits contain documentation and tests.
K Jayatheerth (7):
repo: add path.toplevel with absolute and relative suffix formatting
repo: add path.superproject-working-tree with absolute and relative
suffixes
repo: add path.objects with absolute and relative suffix formatting
repo: add path.hooks with absolute and relative suffix formatting
repo: add path.index with absolute and relative suffix formatting
repo: add path.grafts with absolute and relative suffix formatting
repo: add path.git-prefix path key validationDocumentation/git-repo.adoc | 58 +++++++++++++ builtin/repo.c | 167 ++++++++++++++++++++++++++++++++++++ t/t1900-repo-info.sh | 108 +++++++++++++++++++++++ 3 files changed, 333 insertions(+)
-- 2.55.GIT