{"thread":{"id":"8840","subject":"gitk doesn't start due to cygwin wish not following symlinks?","startedAt":"2007-07-03T19:02:35Z","lastAt":"2007-07-06T09:33:55Z","messageCount":2,"participants":["Kees-Jan Dijkzeul","Jan Hudec"],"isPatch":false,"patchVersion":null,"patchTotal":null},"messages":[{"id":"46396","messageId":"fa0b6e200707031202g4a1248d8na22fbf99b215804@mail.gmail.com","threadId":"8840","inReplyTo":null,"subject":"gitk doesn't start due to cygwin wish not following symlinks?","fromName":"Kees-Jan Dijkzeul","fromEmail":"k.j.dijkzeul@gmail.com","sentAt":"2007-07-03T19:02:35Z","receivedAt":"2007-07-03T19:02:35Z","isPatch":false,"sender":{"key":"k.j.dijkzeul@gmail.com","avatar":"https://gravatar.com/avatar/7093ca9ddb281f666728c9863ed26183dc72ff01d7fd509b053b7e089a93ffcb?d=mp&s=160"},"body":"Hi,\n\nI'm using \"stow\" to manage several versions of git on my cygwin\nsystem. As a result, my /usr/local/bin contains a bunch of symlinks to\nthe actual binaries in /usr/local/stow/git-1.5.2.2/bin.\n\nThis works like a charm, except that gitk won't start up, claiming, in\nturn, that it is unable to start git itself. After some investigation,\nI found that the \"wish\" that is supplied with cygwin isn't a true\ncygwin one, and hence doesn't understand cygwin style simlinks, and\nthus cannot start the /usr/local/bin/git symlink. It needs the true\nbinary.\n\nSo for now, I've worked around this by updating the first few lines of\nthe gitk script to read:\n\n   #!/bin/sh\n   # Tcl ignores the next line -*- tcl -*- \\\n   export PATH=$PATH:/usr/local/stow/git-1.5.2.2/bin\n   # Tcl ignores the next line also \\\n   exec wish \"$0\" -- \"$@\"\n\nThis works for me, but is admittedly butt-ugly. Any tips on how to\nhandle this kind of situation?\n\nThanks a lot!\n\nGroetjes,\n\nKees-Jan\n"},{"id":"46610","messageId":"20070706093355.GD3991@efreet.light.src","threadId":"8840","inReplyTo":"fa0b6e200707031202g4a1248d8na22fbf99b215804@mail.gmail.com","subject":"Re: gitk doesn't start due to cygwin wish not following symlinks?","fromName":"Jan Hudec","fromEmail":"bulb@ucw.cz","sentAt":"2007-07-06T09:33:55Z","receivedAt":"2007-07-06T09:33:55Z","isPatch":false,"sender":{"key":"bulb@ucw.cz","avatar":null},"body":"On Tue, Jul 03, 2007 at 21:02:35 +0200, Kees-Jan Dijkzeul wrote:\n> Hi,\n>\n> I'm using \"stow\" to manage several versions of git on my cygwin\n> system. As a result, my /usr/local/bin contains a bunch of symlinks to\n> the actual binaries in /usr/local/stow/git-1.5.2.2/bin.\n>\n> This works like a charm, except that gitk won't start up, claiming, in\n> turn, that it is unable to start git itself. After some investigation,\n> I found that the \"wish\" that is supplied with cygwin isn't a true\n> cygwin one, and hence doesn't understand cygwin style simlinks, and\n> thus cannot start the /usr/local/bin/git symlink. It needs the true\n> binary.\n>\n> So for now, I've worked around this by updating the first few lines of\n> the gitk script to read:\n>\n>   #!/bin/sh\n>   # Tcl ignores the next line -*- tcl -*- \\\n>   export PATH=$PATH:/usr/local/stow/git-1.5.2.2/bin\n>   # Tcl ignores the next line also \\\n>   exec wish \"$0\" -- \"$@\"\n>\n> This works for me, but is admittedly butt-ugly. Any tips on how to\n> handle this kind of situation?\n\nAsk cygwin folks to teach their wish their symlinks?\n\nYou could also try putting a git.bat somewhere in path, that would set the\npath and run true git from /usr/local/stow/git-1.5.2.2/bin.\n\n-- \n\t\t\t\t\t\t Jan 'Bulb' Hudec <bulb@ucw.cz>\n"}]}