git/list[1] front-page[2] threads[3] people[4] search[5] about
 

[Proposal][GSOC] extending git repo info with additional path metadata

From
Arsh Srivastava <arshsrivastava00@gmail.com>
Date
Apr 4, 2026, 04:57 UTC
Message-ID
<CAOAgETPYmCr=1UudOZdphjShp-kFabyVJo4sxUkXiqSBNoT5gA@mail.gmail.com>
Hi,

This is a follow up mail to proposal for [GSOC] "git repo info", it seems that it doesn’t expose some of the path-related information that users often end up needing, like the Git directory, working tree root, or object directory.

In practice, users still rely on "git rev-parse" for these, which feels a bit inconsistent given that repo info already provides a structured way to query repository metadata.

After looking at "repo.c", it appears that the existing field-based setup could be extended fairly easily to include these without changing the overall design. The idea would be to add a few path-related fields using the same getter pattern that’s already there.

Before going further with this, it would be helpful to understand whether this direction fits within the intended scope of "git repo info", or if there are reasons this kind of information is intentionally not exposed through it.

Thanks, Arsh Srivastava

Message 1 of 1 in “[Proposal][GSOC] extending git repo info with additional path metadata”
  1. Arsh SrivastavaApr 4, 2026

Read the whole thread, see it on lore, or plain text.

$ cat FOOTERMessages come from the public archive at lore.kernel.org/git, fetched every hour. The front page is chosen and written each morning by an AI editor and can be wrong; the threads themselves are the record. About and API. For agents: an MCP server at https://gitlist.dev/mcp, and any thread, story or person page as Markdown by adding .md to its URL (or sending Accept: text/markdown). Details in /llms.txt.