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

Re: [PATCH] Handle UNC paths everywhere

From
Johannes Schindelin <johannes.schindelin@gmx.de>
Date
Jan 26, 2010, 11:01 UTC
Message-ID
<alpine.DEB.1.00.1001261200010.4641@intel-tinevez-2-302>
In-Reply-To
<201001252104.10328.robin.rosenberg@dewire.com>
Hi,
On Mon, 25 Jan 2010, Robin Rosenberg wrote:
Show 10 quoted lines
> måndagen den 25 januari 2010 18.34.01 skrev  Johannes Schindelin:
> > 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

Previous: Robin RosenbergNext: Johannes Sixt
Message 19 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.