On Thu Nov 19, 2026 at 2:44 PM EST, Junio C Hamano wrote:
> "Mark C. Chu-Carroll" <mark…@fastmail.com> writes: >
>> "git repo structure" computes a set of statistics >> that are useful for diagnosing performance issues in >> a git repository.
> > By the way, I find it very troublesome for this feature to squat on > the name "structure", as what *this* "structure" gives the users is > not about the structure of the repository at all. You are giving > various stats on objects found in the repository and nothing else. > > From the name "structure", I would expect that we can learn various > things such as: > > * How wide or deep are the trees the contents are being tracked in? > > * How many branches are active in the repository? How do these > branches get integrated? Into a single 'trunk'? With many > maintenance tracks? How many? > > * How are the names of these branches structured? By topic? By > contributor names? Something else? > > in addition to counts and weights of various object types. > > And more importantly, we should be able to compare these structural > characteristics across various repositories and projects. > > Hopefully it is not too late, as "git repo" as a whole is still > marked as experimental. Once some of the subfeatures in the command > prove useful, hopefully they will be given a more appropriate name > and UI and migrate out of the experimental "git repo" umbrella.
I basically agree with you - I don't like structure as the name for this. But I'm coming in as someone who's enhancing the features that are already present; it doesn't feel right in this change to alter the whole name of the feature. I think these are useful tools, but they're awkward as "structure" commands; perhaps in a separate change, renaming them to "git repo statistics" would be better? -Mark
-- Mark Craig Chu-Carroll (@MarkChuCarroll at gitlab) *** Software Tools/Math Geek - Software Engineer at Gitlab *** Work Email: mcar…@gitlab.com / mark…@fastmail.com *** Personal Blog: http://goodmath.org/blog / Personal email: mark…@gmail.com