git-gui: Support cloning Cygwin based work-dirs
commitba6c761e6287f9987d70ed4d2a609a7ed415a6a5
authorShawn O. Pearce <spearce@spearce.org>
Fri, 12 Oct 2007 20:24:20 +0000 (12 16:24 -0400)
committerShawn O. Pearce <spearce@spearce.org>
Sat, 13 Oct 2007 03:07:58 +0000 (12 23:07 -0400)
treea9711587e0abf62c479ea67c115f4a5a1f47538a
parent51a41ac4efd8bcbcf2aa6e738c42ae4d46d10947
git-gui: Support cloning Cygwin based work-dirs

If the user tries to clone a Git repository that is actually a
workdir of another repository (by way of contrib git-new-workdir)
then the contents of .git is a series of Windows .lnk files which
Tcl can't read if this is a native Tcl process.  To read the real
objects directory we need to resolve the link to that location.

Signed-off-by: Shawn O. Pearce <spearce@spearce.org>
lib/choose_repository.tcl