Re: [PATCH] Handle UNC paths everywhere
From: Johannes Schindelin <hidden>
Date: 2016-06-15 22:48:06
Hi, On Mon, 25 Jan 2010, Robin Rosenberg wrote:
måndagen den 25 januari 2010 18.34.01 skrev Johannes Schindelin:quoted
I am also not quite sure if you can get away with having the same offset for both: if I have "C:\blah" and strip off "C:", I always have a directory separator to bounce against, whereas I do not have that if I strip off the two "\\" of a UNC path. Besides, I maintain that the host name, and maybe even the share name, should not ever be stripped off!Advices needed: d:somedir (when cwd=d:\msysgit, == /) may be tricky to fix.
This is a totally different issue from the UNC issue you brought up. May I suggest to fix the UNC thing first, and if you feel inclined, take care of the relative DOS drive path afterwards? The relative DOS drive path is also not something I find overly pressing, as I work from the Git bash, as you know, which does not translate POSIX-style paths into such relative DOS drive paths. Ciao, Dscho