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

Re: Referring to other repositories

From
KKKonstantin Khomoutov <flatworm@users.sourceforge.net>
Date
Dec 14, 2010, 05:58 UTC
Message-ID
<20101214055825.GJ3264@localhost.localdomain>
In-Reply-To
<loom.20101214T011043-268@post.gmane.org>
On Tue, Dec 14, 2010 at 01:03:20AM +0000, Maaartin wrote:
Show 6 quoted lines
> I'm using multiple repositories corresponding to different projects. Currently, 
> all the projects reside in different subdirectories of the same directory, like
> work/A
> work/B
> work/C
> There are some dependencies like B and C depending on A.
[...]
> I know about git submodule, however IIUIC it needs the other project to become 
> a subdirectory of the master, but I can hardly make A to subdirectory of both B 
> and C (I'm a poor Windows user, so no symlinks).
[...]
> So it looks like using submodules is no option, but I hope you tell me that I'm 
> wrong.

Windows supports directory-only symlinks on NTFS >= 3.0 (starting with Windows 2000, that is), see [1], and it seems that since Vista there are true symlinks (did not have a chance to use them yet). I'm not sure if msysgit will play nicely with them, but at least you could try.

[...]
1. http://en.wikipedia.org/wiki/NTFS_junction_point
Previous: Maaartin
Message 2 of 2 in “Referring to other repositories”
  1. MaaartinDec 14, 2010
  2. Konstantin KhomoutovDec 14, 2010

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.