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

Re: Windows symlinks

From
Avery Pennarun <apenwarr@gmail.com>
Date
Jun 24, 2008, 23:18 UTC
Message-ID
<32541b130806241618p69f6167dycb09cdec1af8ba0@mail.gmail.com>
In-Reply-To
<911589C97062424796D53B625CEC0025E4618F@USCOBRMFA-SE-70.northamerica.cexp.com>
On 6/24/08, Patrick.Higgins@cexp.com <Patrick.Higgins@cexp.com> wrote:
>  Cygwin's clever symlink trick seems to work pretty well in practice. I'm not exactly sure what
> it's doing, but it seems to create a shortcut that it's own programs understand. Some other
> non-Cygwin programs seem to understand them, too, but Java does not which is a big
> problem for me.

It seems somewhat odd that your developers are relying on an operating system feature that doesn't even exist. I might suggest one of:

- add an abstraction layer to your Java applet that understands
cygwin-style symlinks
- actually just check in the file multiple times; git will store it
efficiently anyway
- improve your Makefile to automatically copy the files and/or create
symlinks at build time rather than storing the symlinks in revision
control.

My understanding of Clearcase is that it actually loads a virtual filesystem driver in Windows and does all kinds of insane magic - slowly and inefficiently, too - behind the scenes. Something tells me git (and every other VCS :)) really doesn't want to go there.

Have fun,
Avery
Previous: patrick.higgins@cexp.comNext: Jay Soffian
Message 2 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.