Re: includeIf appears to not be working

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On Mon, Dec 12, 2022 at 03:55:42PM -0500, Jeff King wrote:

> > 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



[Index of Archives]     [Linux Kernel Development]     [Gcc Help]     [IETF Annouce]     [DCCP]     [Netdev]     [Networking]     [Security]     [V4L]     [Bugtraq]     [Yosemite]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Linux RAID]     [Linux SCSI]     [Fedora Users]

  Powered by Linux