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

Re: [GSoC][PROPOSAL] Improving and Extending the git repo command

From
AJAyush Jha <kumarayushjha123@gmail.com>
Date
Mar 1, 2026, 06:13 UTC
Message-ID
<CAFNBzOe8_GbXFTmL5UuLWa+5xa=D04jJkmqMumerajeYGkVwaA@mail.gmail.com>
In-Reply-To
<B8697AB9-9C9B-41C9-A2D8-1848CD966137@gmail.com>
Hi Lucas,
Thank you for this feedback and for pointing out commit fac60b8925!

You are completely right—assuming a blanket "relative by default" expectation ignores the historical nuance of how git rev-parse handles different path options. I have updated my proposal draft to remove that assumption and properly acknowledge the complexity of path formatting for repo-info.

I also just left my thoughts on your new repo-info --path-format patch series addressing this exact issue over on that thread! Let me know if that direction seems correct.

(Also, apologies if my reply to that patch series looks a bit strange in your inbox—I accidentally put Jayatheerth in the 'To' field and you in 'CC' when replying!)

Thanks again for the guidance, Ayush

On Sun, Mar 1, 2026 at 4:28 AM Lucas Seiki Oshiro <lucasseikioshiro@gmail.com> wrote:

Show 21 quoted lines
>
>
> > Hi everyone,
>
> Hi, Ayush!
>
> > Note to reviewers: I'd like to hear your thoughts on whether these
> > paths should default to relative or absolute. My initial thought is
> > relative by default with an `--absolute` flag, as that seems to match
> > user expectations for CLI tools like `git rev-parse`.
>
> I've just sent the path (trying to) add support for paths (the one
> you mentioned). I don't know if it's the best approach. I CC'ed you
> and the other GSoC applicants that are interested in git-repo-info.
>
> I wouldn't say that the user's expectations is to retrieve absolute
> paths by default, we need to check each one of the "options for
> files" modified by --path-format and see what makes more sense.
> See [1].
>
> [1] fac60b8925 (rev-parse: add option for absolute or relative path formatting, 2020-12-13)
Previous: Lucas Seiki Oshiro
Message 3 of 3 in “[GSoC][PROPOSAL] Improving and Extending the git repo command”
  1. Ayush JhaFeb 28, 2026
  2. Lucas Seiki OshiroFeb 28, 2026
  3. Ayush JhaMar 1, 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.