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]

 



I had the problem with version 2.7.4.

The problem is fixed in self-compiled v2.13.2.533.ge0aaa1bed, v2.12.0, v2.11.0 and v2.9.3! Even the older version 2.1.4 does not have that problem.

Thank you for the input!

Robert



________________________________________
From: Siemer Robert CSNPE
Sent: Wednesday, June 28, 2017 14:09
To: Stefan Beller; Junio C Hamano
Cc: git@xxxxxxxxxxxxxxx
Subject: Re: Bug: submodules of submodules use absolute gitdir in .git file (instead of relative)

________________________________________
From: Stefan Beller <sbeller@xxxxxxxxxx>
Sent: Tuesday, June 27, 2017 19:35
To: Junio C Hamano
Cc: Siemer Robert CSNPE; git@xxxxxxxxxxxxxxx
Subject: Re: Bug: submodules of submodules use absolute gitdir in .git file (instead of relative)

On Tue, Jun 27, 2017 at 8:06 AM, Junio C Hamano <gitster@xxxxxxxxx> wrote:
> 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.

Yeah there was a period in time where we had this bug.
(Or is it a different bug?)
See 90c0011619 (submodule: use absolute path for computing
relative path connecting, 2016-12-08), which is included in 2.12.




[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