git/list[1] front-page[2] threads[3] people[4] search[5] about
 

Re: bug: nested submodules get an absolute gitdir path

From
AHAntti Halttunen <antti.halttunen@iki.fi>
Date
Apr 7, 2016, 06:44 UTC
Message-ID
<CALoo-5XQtLsiEneqLdJyi8Wa5pTX_Kz8f7C1H6ir2=J2ZLAyLg@mail.gmail.com>
In-Reply-To
<xmqqmvp6zsos.fsf@gitster.mtv.corp.google.com>
On Wed, Apr 6, 2016 at 6:02 PM, Junio C Hamano <gitster@pobox.com> wrote:
Show 14 quoted lines
> Antti Halttunen <Antti.Halttunen@iki.fi> writes:
>
>> Starting with git v2.7.0,
>>
>> submodules two levels deep get a .git contents of:
>>  gitdir: /absolute/path/name
>
> I think that this is $gmane/290491
>
> http://thread.gmane.org/gmane.comp.version-control.git/290491
>
> and queued as sb/submodule-helper-clone-regression-fix topic,
> currently included on the 'pu' branch.  Can you try it and see if it
> fixes your issue?
it does, thanks.
Show 14 quoted lines
> Thanks.
>
>>
>> This breaks repos that are moved or copied:
>>
>> fatal: Not a git repository:
>> /tmp/tmp.gIyxKWIC26/repo/.git/modules/sub/modules/sub
>> fatal: 'git status --porcelain' failed in submodule sub
>>
>> The script https://gitlab.com/snippets/17301 reproduces the issue.
>>
>> git bisect points to commit ee8838d1.
>>
>> thanks,
-- 
antti
Previous: Junio C Hamano
Message 3 of 3 in “bug: nested submodules get an absolute gitdir path”
  1. Antti HalttunenApr 6, 2016
  2. Junio C HamanoApr 6, 2016
  3. Antti HalttunenApr 7, 2016

Read the whole thread, see it on lore, or plain text.

$ cat FOOTERMessages come from the public archive at lore.kernel.org/git, fetched every hour. The front page is chosen and written each morning by an AI editor and can be wrong; the threads themselves are the record. About and API. For agents: an MCP server at https://gitlist.dev/mcp, and any thread, story or person page as Markdown by adding .md to its URL (or sending Accept: text/markdown). Details in /llms.txt.