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 30, 2011, 17:54 UTC
Message-ID
<4E0CB84B.3060600@cisco.com>
In-Reply-To
<7vpqlws3jb.fsf@alter.siamese.dyndns.org>
On 06/29/2011 05:58 PM, Junio C Hamano wrote:
Show 10 quoted lines
> Phil Hord <hordp@cisco.com> writes:
>> It frightens me because it seems like a fundamental break from the
>> current submodule functionality.  Today a submodule exists as a git
>> repository with no knowledge that it is a submodule or who its
>> super-repository is.
> The use of .git that is a text file that records where the real directory
> is not limited to submodules.  Placing that "real directory" somewhere in
> the .git directory of the superproject is merely a convention.
>
> In other words, it does not change anything fundamental.

Thanks for pointing that out. I was unaware of that feature until I saw it discussed in another thread this week. Even then, it was not clear to me that this is the same feature being employed here.

> When switching to another branch, a directory that does not exist in the
> switched-to branch needs to be removed, but we would refrain from "rm -fr"
> that directory if it has any leftover cruft in it (untracked and unignored
> files). A submodule directory should behave in the same way.
Thanks.  I am suitably enclued and no longer afraid.
Phil
Previous: Junio C Hamano
Message 6 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.