Re: [PATCH 0/4] repo: add support for path-related fields
- From
Lucas Seiki Oshiro <lucasseikioshiro@gmail.com>
- Date
- Mar 1, 2026, 19:55 UTC
- Message-ID
- <B46AA932-28EF-4A2C-96B9-0F05D9641C1C@gmail.com>
- In-Reply-To
- <CAFNBzOdCx=R3r9+m5eDyAykMAbmbcfpX3kPeEPjqXPYT-_89+g@mail.gmail.com>
> Hi Lucas,
Hi, Ayush!
> Thanks for sharing this series — moving the path formatting logic into > path.c makes a lot of sense and avoids duplication with rev-parse.
Yeah, but since git-repo-info was written as a better home for some features currently in git-rev-parse, now we can think in better solutions.
> For example, something along the lines of: > path.toplevel > path.absolute.toplevel > path.relative.toplevel
I also thought about that, but what would happen with --all? If --all returns both absolute and relative, then we would have the third solution.