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

Re: Submodule's .git file contains absolute path when created using 'git clone --recursive'

From
Stefan Beller <sbeller@google.com>
Date
Jul 12, 2016, 16:46 UTC
Message-ID
<CAGZ79ka7wRk3ksf52fHDLccvYJR3DHjnH=CB+8uobe8aKiexvg@mail.gmail.com>
In-Reply-To
<loom.20160712T131832-33@post.gmane.org>

On Tue, Jul 12, 2016 at 4:22 AM, Ricardo Sánchez-Sáez <rsanchez.saez@gmail.com> wrote:

Show 14 quoted lines
> Stefan Beller <sbeller <at> google.com> writes:
>
> Hi,
>
> sorry to awake an old thread. Has this been fixed? In which git version?
> It's hitting me on git version  2.7.4 (Apple Git-66) (default git client on
>  OS X 10.11.5 (15F34)).
>
> I think all submodule .git files should contain relative paths. Otherwise,
>  duplicating or moving the cloned  repository folder breaks the submodules.
>
> Best,
> Ricardo
>
The commit I referenced earlier:

$ git tag --contains f8eaa0ba98b3bd9cb9035eba184a2d9806d30b27 v2.8.3 v2.8.4 v2.9.0 v2.9.0-rc0 v2.9.0-rc1 v2.9.0-rc2 v2.9.1

Previous: Ricardo Sánchez-Sáez
Message 7 of 7 in “Submodule's .git file contains absolute path when created using 'git clone --recursive'”
  1. Loet AvramsonMay 5, 2016
  2. Junio C HamanoMay 5, 2016
  3. Stefan BellerMay 5, 2016
  4. Loet AvramsonMay 5, 2016
  5. Stefan BellerMay 5, 2016
  6. Ricardo Sánchez-SáezJul 12, 2016
  7. Stefan BellerJul 12, 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.