From: K Jayatheerth Date: Tue, 18 Aug 2026 16:33:05 GMT Subject: Re: [GSoC PATCH v4 6/7] repo: add path.git-prefix Message-ID: In-Reply-To: <6E2B0ADE-2101-47AC-B11B-315897AC2AF9@gmail.com> On Sun, Aug 16, 2026 at 6:24 AM Lucas Seiki Oshiro wrote: > > > > Scripts sometimes need the path from the repository's working tree root > > to the current working directory. While this information can be derived > > through existing Git commands, `git repo info` does not currently expose > > it as a scriptable key. > > Even though I understand that this is a relevant info, it seems > to me that it's a little bit out of place here... This is > a "current directory information", not a "repository information". > > I agree that path.git-prefix is technically current-directory information rather than repository information. I included it because it is useful path information for scripts operating within a repository, and it is already exposed by git rev-parse --show-prefix. I thought it would fit the purpose of this series, but I can drop it if you think it is better kept separate.