Re: includeIf appears to not be working
- From
Jeff King <peff@peff.net>
- Date
- Dec 12, 2022, 20:57 UTC
- Message-ID
- <Y5eVsb8rIH9TFgIj@coredump.intra.peff.net>
- In-Reply-To
- <Y5eVTrK2CO0h5BPl@coredump.intra.peff.net>
On Mon, Dec 12, 2022 at 03:55:42PM -0500, Jeff King wrote:
Show 6 quoted lines
> > Is there a debug command which can show if the gitdir is/isn't > > matching like I thought it should? What other command output could > > help debug this? > > No, there's no debug/tracing code for this feature. You'd have to run it > under gdb (break on the include_by_gitdir function).
Oh, one other command you could try:
git rev-parse --absolute-git-dir
while in the repository in question. I think that would do the same normalization of the path (including resolving symlinks). So that would tell you what Git should be matching against.
-Peff