From: Alex Riesen Date: Fri, 10 Aug 2007 11:40:28 GMT Subject: Re: msysgit: does git gui work? Message-ID: <81b0412b0708100440l116f934ft22d3ac3c71e2e7cf@mail.gmail.com> In-Reply-To: On 8/10/07, Johannes Schindelin wrote: > On Fri, 10 Aug 2007, Steffen Prohaska wrote: > > > I recognized that '.' is included in the PATH in /etc/profile. > > I don't think this is a good idea. At least it bit me once when > > I expected to run /bin/git but instead /git/./git was chosen. > > Shouldn't we remove '.' from the PATH? > > In my experience, Windows users (not Mac users forced to use Windows) > _expect_ "." to be in the PATH. ...because they _cannot_ know otherwise. In Windows, you cannot remove "." from PATH, it is implicitly in it. It is actually worse than that: the system directories are in PATH too. Unconditionally. Yes, the same system directories all them programs put their .exes into.