summaryrefslogtreecommitdiff
path: root/lib/option.tcl
diff options
context:
space:
mode:
authorShawn O. Pearce <spearce@spearce.org>2007-06-19 14:48:09 (GMT)
committerShawn O. Pearce <spearce@spearce.org>2007-06-21 03:22:49 (GMT)
commit82a2d6bdf9532812e2f315477494956a2f26e2cd (patch)
treef26a08d2228ae45a4f0b35ddb422f4cfbcbd0977 /lib/option.tcl
parent39fa2a983d55b37759b99e67f9f1892879efb775 (diff)
downloadgit-82a2d6bdf9532812e2f315477494956a2f26e2cd.zip
git-82a2d6bdf9532812e2f315477494956a2f26e2cd.tar.gz
git-82a2d6bdf9532812e2f315477494956a2f26e2cd.tar.bz2
git-gui: Correctly install to /usr/bin on Cygwin
Mark Levedahl <mlevedahl@gmail.com> noted that installation on Cygwin to /usr/bin can cause problems with the automatic guessing of our library location. The problem is that installation to /usr/bin means we actually have: /usr/bin = c:\cygwin\bin /usr/share = c:\cygwin\usr\share So git-gui guesses that its library should be found within the c:\cygwin\share directory, as that is where it should be relative to the script itself in c:\cygwin\bin. In my first version of this patch I tried to use `cygpath` to resolve /usr/bin and /usr/share to test that they were in the same relative locations, but that didn't work out correctly as we were actually testing /usr/share against itself, so it always was equal, and we always used relative paths. So my original solution was quite wrong. Mark suggested we just always disable relative behavior on Cygwin, because of the complexity of the mount mapping problem, so that's all I'm doing. Signed-off-by: Shawn O. Pearce <spearce@spearce.org>
Diffstat (limited to 'lib/option.tcl')
0 files changed, 0 insertions, 0 deletions