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

Re: [GSoC 11 submodule] Status update

From
Phil Hord <hordp@cisco.com>
Date
Jun 28, 2011, 00:29 UTC
Message-ID
<4E09205E.2080904@cisco.com>
In-Reply-To
<20110627193444.GA26778@paksenarrion.iveqy.com>
Hi Fredrik and git-submodule folks,
On 06/27/2011 03:34 PM, Fredrik Gustafsson wrote:
> My fourth task (and the main task of this summer) will start on June 27 and
> will be to move a submodules .git-dir into the super-projects .git-dir.
> Design of this is already done and approved by my mentors.

This frightens me a bit, so I read the wiki link about it. Thanks for explaining where I can find this information.

But I'm still confused.

If I understand right, the submodule/.git dirs will be moved into the top-level at .git/submodule/.git. The benefit is supposed to be that this will free up contention on the non-empty submodule directory when the super-project switches branches.

In the simple case, git warns "unable to rmdir sub: Directory not empty". But I can think of other conflicts as well.

My question is, how does this proposed change help the situation?
Phil
Previous: Fredrik GustafssonNext: Heiko Voigt
Message 2 of 6 in “[GSoC 11 submodule] Status update”
  1. Fredrik GustafssonJun 27, 2011
  2. Phil HordJun 28, 2011
  3. Heiko VoigtJun 28, 2011
  4. Phil HordJun 29, 2011
  5. Junio C HamanoJun 29, 2011
  6. Phil HordJun 30, 2011

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.