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

RE: Windows symlinks

From
Ppatrick.higgins@cexp.com <patrick.higgins@cexp.com>
Date
Jun 24, 2008, 23:42 UTC
Message-ID
<911589C97062424796D53B625CEC0025E46193@USCOBRMFA-SE-70.northamerica.cexp.com>
In-Reply-To
<m3od5qjtv1.fsf@localhost.localdomain>
Show 6 quoted lines
> From: Jakub Narebski [mailto:jnareb@gmail.com]
> 
> Patrick Higgins <Patrick.Higgins@cexp.com> writes:
> 
> Second, the problem there can be _only_ if your repository contains
> (or contained) symlinks, and then it is your own damn fault.
Agreed. The first thing we started working on was getting symlinks out of our repositories. Unfortunately, we chose to use them because we are using broken development tools that don't support proper modularity. We found the best way to get the IDE's compilation to work was to symlink shared code into each project. It's a nasty solution, but it was the only one that worked. Clearcase made this solution possible. As powerful and flexible as git is, it would have left us out in the cold in this situation.
> I don't know how Cygwin, or msysGit deals with symlinks in a wirking
> directory
msysGit just created a file with the target of the symlink as it's contents, but its tools didn't know how to make use of it. I think Cygwin did the same thing, but ls, cat, and all the other Cygwin tools were able to make use of it. I tried to run the Java compiler over a symlinked file and it didn't work, though.
Copying files at build time is an interesting idea, but since the point was to get an IDE's build system to work, I don't I'll have the level of control I would need to make this work.
Previous: Jakub NarebskiNext: Avery Pennarun
Message 5 of 9 in “Windows symlinks”
  1. patrick.higgins@cexp.comJun 24, 2008
  2. Avery PennarunJun 24, 2008
  3. Jay SoffianJun 26, 2008
  4. Jakub NarebskiJun 24, 2008
  5. patrick.higgins@cexp.comJun 24, 2008
  6. Avery PennarunJun 25, 2008
  7. patrick.higgins@cexp.comJun 25, 2008
  8. Andreas EricssonJun 26, 2008
  9. Robin RosenbergJun 24, 2008

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.