Re: Bug: submodules of submodules use absolute gitdir in .git file (instead of relative)

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

 



Robert Siemer <Robert.Siemer@xxxxxxxxxxxxxxxxx> writes:

> Hello everyone,
>
> $ git submodule foreach cat .git
>
> ...shows that the gitdir registered in the .git file of submodules is relative. But if you run 
>
> $ git submodule foreach --recursive cat .git
>
> ...shows that submodules of submodules (if you have any) have an absolute gitdir starting with a slash.
>
> 1) Can you confirm that behavior?

Nobody can without knowing which version of Git you are using.  I
suspect that we had discussed and addressed something related to
nested submodule's "gitdir" pointer in not-so-distant past.

> 2) Am I right that this is a bug (at least because of inconsistency)?




[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