Re: Windows symlinks

Previous message: [thread] [date] [author]
Next message: [thread] [date] [author]
From: Jakub Narebski
Date: Tuesday, June 24, 2008 - 4:28 pm

Patrick Higgins <Patrick.Higgins@cexp.com> writes:


If only MS Windows supported other filesystems which have symlinks...


First, I think that both "git on Windows" solutions, namely Cygwin and
msysGit port, don't use symlinks either in installed programs, nor in
repository layout.

Second, the problem there can be _only_ if your repository contains
(or contained) symlinks, and then it is your own damn fault.  I don't
know how Cygwin, or msysGit deals with symlinks in a wirking
directory, but you can work around symlinks (although in a bit
unwieldy way) by using `core.symlinks' configuration variable;
see git-config(1):

 core.symlinks::
        If false, symbolic links are checked out as small plain files
        that contain the link text. git-update-index(1) and git-add(1)
        will not change the recorded type to regular file. Useful on
        filesystems like FAT that do not support symbolic links. True
        by default.

-- 
Jakub Narebski
Poland
ShadeHawk on #git
--
To unsubscribe from this list: send the line "unsubscribe git" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html
Previous message: [thread] [date] [author]
Next message: [thread] [date] [author]

Messages in current thread:
Windows symlinks, Patrick.Higgins, (Tue Jun 24, 3:42 pm)
Re: Windows symlinks, Avery Pennarun, (Tue Jun 24, 4:18 pm)
Re: Windows symlinks, Jakub Narebski, (Tue Jun 24, 4:28 pm)
Re: Windows symlinks, Robin Rosenberg, (Tue Jun 24, 4:29 pm)
RE: Windows symlinks, Patrick.Higgins, (Tue Jun 24, 4:42 pm)
Re: Windows symlinks, Avery Pennarun, (Tue Jun 24, 5:04 pm)
RE: Windows symlinks, Patrick.Higgins, (Wed Jun 25, 10:50 am)
Re: Windows symlinks, Jay Soffian, (Wed Jun 25, 8:50 pm)
Re: Windows symlinks, Andreas Ericsson, (Wed Jun 25, 11:33 pm)