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

Re: Annoying absolute path for "core.worktree" to submodule

From
Antony Male <antony.male@gmail.com>
Date
Mar 20, 2012, 13:31 UTC
Message-ID
<4F6886A6.3010805@gmail.com>
In-Reply-To
<20120320105243.2e8a489b@christian-hammerl.de>
On 20/03/2012 9:52 am, Christian Hammerl wrote:
Show 7 quoted lines
> Hey folks,
>
> I really love the work you are doing on GIT but the last update
> regarding submodules is a bit annoying. Although the path inside the
> ".git" file is stored relative to the submodule's path, the path in
> ".git/modules/path-to-submodule/config" is stored as an absolute path
> for "core.worktree".

What are you referring to as the "last update"? v1.7.8 introduced the separate git dir for submodules, and used an absolute path.

This absolute path was changed to a relative path in the patchset at [1], which is present in v1.7.10-rc1.

[1]: http://thread.gmane.org/gmane.comp.version-control.git/192173
Previous: Christian HammerlNext: Holding, Lawrence
Message 2 of 5 in “Annoying absolute path for "core.worktree" to submodule”
  1. Christian HammerlMar 20, 2012
  2. Antony MaleMar 20, 2012
  3. Holding, LawrenceMar 20, 2012
  4. Jens LehmannMar 21, 2012
  5. Christian HammerlMar 21, 2012

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.