måndagen den 25 januari 2010 10.36.59 skrev Sverre Rabbelier:
Heya,
On Mon, Jan 25, 2010 at 01:55, Robin Rosenberg
[off-list ref] wrote:
quoted
In Windows paths beginning with // are knows as UNC paths. They are
absolute paths, usually referring to a shared resource on a server.
Cute, but will it actually work? I've tried to use them // paths on
windows before with MSysGit, and it's never worked, probably due to
Works here (tm). Latest msygit + rebuilt git binaries on Windows 2003.
The only program I know in the msysgit installation that didn't accept UNC
paths prior to this patch was in fact git.
the same reason why it doesn't work in the cmd prompt (whatever reason
that may be).
Any code of the this form will of course not support UNC paths:
if (!has_drive_letter(path))
boom();
-- robin