Re: [PATCH 1/3] repo: extend info paths and structure statistics
- From
Justin Tobler <jltobler@gmail.com>
- Date
- Feb 23, 2026, 03:02 UTC
- Message-ID
- <aZvBLAvM0rfA8VUr@denethor>
- In-Reply-To
- <9f2b3a46a4475ef9dcfec65def3a9965b476b4c4.1771784936.git.gitgitgadget@gmail.com>
On 26/02/22 06:28PM, eslam-reda-div via GitGitGadget wrote:
Show 16 quoted lines
> From: eslam-reda-div <eslam.reda.div@gmail.com> > > Improve git repo info by adding path-oriented keys that match values > users currently obtain from git rev-parse, including common directory, > git directory, top-level, superproject working tree, and additional > git-path based locations. > > Teach git repo info to accept category keys like layout and path, > and add --path-format=(absolute|relative) so scripts can request the > desired path style explicitly. The command now uses repository context > passed to the command path instead of relying on global state. > > Extend git repo structure with deeper repository metrics inspired by > git-sizer, including per-type maximum inflated and on-disk object sizes, > maximum commit parent count, maximum tree entry count, longest/deepest > blob path, and deepest annotated tag chain.
Hello,
Just FYI, there is already a series on the list I'm currently working on that is extending the "structure" output for git-repo [1] similar to what is being done here. This series collects largest inflated object info, max commit parents, and max tree entries. It does look like this series is collecting a couple of other data points too, but maybe we could do so it a separate followup series to the one I'm working on? :)
Thanks, -Justin
[1]: https://lore.kernel.org/git/20260203221758.1164434-1-jltobler@gmail.com/