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

Re: Mixing and matching multiple projects

From
Junio C Hamano <gitster@pobox.com>
Date
Feb 20, 2012, 00:36 UTC
Message-ID
<7vy5rynxw6.fsf@alter.siamese.dyndns.org>
In-Reply-To
<A5E8E180685CEF45AB9E737A010799802D972E@cdnz-ex1.corp.cubic.cub>
"Holding, Lawrence" <Lawrence.Holding@cubic.com> writes:
Show 6 quoted lines
> How about 
> - creating a "driver" project in the superproject, 
> - add a .gitignore or .git/exclude entry for the
> /s/xyzzy/os/drivers/frotz folder into the os project
> - symlinking the /s/xyzzy/os/drivers/frotz folder to the
> /s/xyzzy/driver/frotz folder
Thanks.

I think that is essentially the same as what I wrote with "symlink" in my last paragraph as a known-to-work workaround. The real location of the frotz driver, whether it is in a directory directly in the superproject, or a separate submodule that is bound to the superproject outside the "os" submodule, does not make an essential difference, as long as it is outside "os".

I was asking if people who have used submodules have better solutions than that "symlink" solution.

Previous: Holding, LawrenceNext: Seth Robertson
Message 4 of 5 in “Mixing and matching multiple projects”
  1. Junio C HamanoFeb 17, 2012
  2. Junio C HamanoFeb 17, 2012
  3. Holding, LawrenceFeb 20, 2012
  4. Junio C HamanoFeb 20, 2012
  5. Seth RobertsonFeb 17, 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.