From: Karthik Nayak Date: Thu, 19 Mar 2026 14:00:01 GMT Subject: Re: [PATCH] repo: add paths.git_dir repo info key Message-ID: In-Reply-To: "Jayesh Daga via GitGitGadget" writes: > From: jayesh0104 > > Introduce a new repo info key `paths.git_dir` to expose the > repository's gitdir path, equivalent to `git rev-parse --git-dir`. > > This improves consistency and allows tools to retrieve the gitdir > path without invoking external commands. > > The implementation adds support in repo.c and integrates it into > the repo info reporting mechanism. Documentation is updated to > describe the new key, and tests are added to verify that the value > matches the output of `git rev-parse --git-dir`. > Hello Jayesh, Seeing from the people CC'd I'm assuming that you're interested in applying for the GSoC. As such, we encourage GSoC contributors to work on micro-projects as listed on our GSoC website and also to read the guidelines we've laid out [1] [2]. I would also mention that we do not recommend getting started on a project, unless you're selected. Now specifically for this project, there is still no decision made about using relative paths vs absolute paths, I've highlighted this in one of the candidates proposals [3]. I would suggest getting involved in that discussion and coming to a conclusion before starting work on it. [1]: https://git.github.io/General-Microproject-Information/ [2]: https://git.github.io/General-Application-Information/ [3]: https://lore.kernel.org/git/CAOLa=ZTtNSZ904v0-SN16jAis7gK4=MVj1g_5CGdbmaBopeZkg@mail.gmail.com/#t Regards, Karthik [snip]