git.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* [RFC] Reporting index properties
@ 2017-10-05 23:39 Alex Vandiver
  2017-10-06  0:43 ` Junio C Hamano
  2017-10-06  3:13 ` Jonathan Nieder
  0 siblings, 2 replies; 7+ messages in thread
From: Alex Vandiver @ 2017-10-05 23:39 UTC (permalink / raw)
  To: git

Heya,

As part of gathering some automated performance statistics of git, it
would be useful to be able to extract some vital properties of the
index.  While `git update-index` has ways to _set_ the index version,
and enable/disable various extensions, AFAICT there is no method by
which one can ask for reporting about the current state of them --
short of re-implementing all of the index-parsing logic external to
Git, which is not terribly appealing.

I hesitate to propose adding a flag to `git update-index` which reads
but does no updating, as that seems to make a misnomer of the
command.  But this also doesn't seem worthy of a new top-level command.

Do folks have feelings about surfacing this information, and where such
logic should live?

 - Alex

^ permalink raw reply	[flat|nested] 7+ messages in thread

end of thread, other threads:[~2017-10-06 19:26 UTC | newest]

Thread overview: 7+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2017-10-05 23:39 [RFC] Reporting index properties Alex Vandiver
2017-10-06  0:43 ` Junio C Hamano
2017-10-06  0:47   ` Alex Vandiver
2017-10-06  2:39     ` Junio C Hamano
2017-10-06 19:26       ` Alex Vandiver
2017-10-06  3:13 ` Jonathan Nieder
2017-10-06  4:02   ` Junio C Hamano

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).