git/list[1] front-page[2] threads[3] people[4] search[5] about
 

Re: [PATCH] Handle UNC paths everywhere

From
Erik Faye-Lund <kusmabite@googlemail.com>
Date
Jan 25, 2010, 10:11 UTC
Message-ID
<40aa078e1001250211w2dcc5e97vf89f64f136bd2f0@mail.gmail.com>
In-Reply-To
<fabb9a1e1001250136n2fb0043av7348db9177f4d096@mail.gmail.com>
On Mon, Jan 25, 2010 at 10:36 AM, Sverre Rabbelier <srabbelier@gmail.com> wrote:
Show 12 quoted lines
> Heya,
>
> On Mon, Jan 25, 2010 at 01:55, Robin Rosenberg
> <robin.rosenberg@dewire.com> wrote:
>> 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
> the same reason why it doesn't work in the cmd prompt (whatever reason
> that may be).
>
This works for me, Vista 64-bit:

C:\Users\kusma>dir \\mongo\code The request is not supported.

C:\Users\kusma>explorer \\mongo\code <login on the gui>

C:\Users\kusma>dir \\mongo\code
 Volume in drive \\mongo\code is Code
 Volume Serial Number is 04C3-0225
 Directory of \\mongo\code
10.01.2010  21:39    <DIR>          .
04.01.2010  01:28    <DIR>          ..
04.01.2010  00:51    <DIR>          qt-rocket
10.01.2010  21:38    <DIR>          very_last_64k_ever
11.01.2010  19:57    <DIR>          scratch
               0 File(s)              0 bytes
               5 Dir(s)  958 499 627 008 bytes free
C:\Users\kusma>
-- 
Erik "kusma" Faye-Lund
Previous: Robin RosenbergNext: Sverre Rabbelier
Message 4 of 21 in “Handle UNC paths everywhere”
  1. Handle UNC paths everywhereRobin Rosenberg, Jan 25, 2010
  2. Sverre RabbelierJan 25, 2010
  3. Robin RosenbergJan 25, 2010
  4. Erik Faye-LundJan 25, 2010
  5. Sverre RabbelierJan 25, 2010
  6. Robin RosenbergJan 25, 2010
  7. Sverre RabbelierJan 25, 2010
  8. Erik Faye-LundJan 25, 2010
  9. Johannes SchindelinJan 25, 2010
  10. Erik Faye-LundJan 25, 2010
  11. Johannes SchindelinJan 25, 2010
  12. Erik Faye-LundJan 25, 2010
  13. Robin RosenbergJan 25, 2010
  14. Erik Faye-LundJan 25, 2010
  15. Robin RosenbergJan 25, 2010
  16. Robin RosenbergJan 25, 2010
  17. Johannes SchindelinJan 26, 2010
  18. Robin RosenbergJan 25, 2010
  19. Johannes SchindelinJan 26, 2010
  20. Johannes SixtJan 25, 2010
  21. Robin RosenbergJan 25, 2010

Read the whole thread, see it on lore, or plain text.

$ cat FOOTERMessages come from the public archive at lore.kernel.org/git, fetched every hour. The front page is chosen and written each morning by an AI editor and can be wrong; the threads themselves are the record. About and API. For agents: an MCP server at https://gitlist.dev/mcp, and any thread, story or person page as Markdown by adding .md to its URL (or sending Accept: text/markdown). Details in /llms.txt.