Thread (21 messages) flat view 21 messages, 5 authors, 2016-06-15

Re: [PATCH] Handle UNC paths everywhere

From: Robin Rosenberg <hidden>
Date: 2016-06-15 22:48:06

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
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help