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

Re: Same test-path-utils behaves differently on different Windows systems

From
Sebastian Schuberth <sschuberth@gmail.com>
Date
Oct 10, 2013, 20:27 UTC
Message-ID
<CAHGBnuO_yDuv5b1r8imWKgRcN7hjcidg+Uv-jD8LOkJD-Mtn+w@mail.gmail.com>
In-Reply-To
<52570860.3060503@kdbg.org>
On Thu, Oct 10, 2013 at 10:04 PM, Johannes Sixt <j6t@kdbg.org> wrote:
Show 10 quoted lines
>> So the obvious thing would be to replace /a/b/ with
>> /foo/bar/ in the tests, but that just masks the problem, or?
>
> The strange behavior is not a problem in Git, it is a problem of MSYS.
> Using /foo/bar instead of /a/b in Git's test suite is a reasonable
> work-around.
>
> If you mean that you get ../../C:/something from the relative_path
> computation, that *is* a problem in Git, which is addressed by the topic
> jx/relative-path-regression-fix.

Thanks for pointing out that topic to me. As it turn out, it already has a commit to use /foo/bar instead of /a/b [1]. However, it again mixes up MSYS with MinGW in several places. I'll reply to the patch mails.

[1] https://github.com/gitster/git/commit/15b0ae73520895caffc2eb65732dbf618fb22c62
-- 
Sebastian Schuberth

-- 
-- 
*** Please reply-to-all at all times ***
*** (do not pretend to know who is subscribed and who is not) ***
*** Please avoid top-posting. ***
The msysGit Wiki is here: https://github.com/msysgit/msysgit/wiki - Github accounts are free.

You received this message because you are subscribed to the Google
Groups "msysGit" group.
To post to this group, send email to msysgit@googlegroups.com
To unsubscribe from this group, send email to
msysgit+unsubscribe@googlegroups.com
For more options, and view previous threads, visit this group at
http://groups.google.com/group/msysgit?hl=en_US?hl=en

--- 
You received this message because you are subscribed to the Google Groups "msysGit" group.
To unsubscribe from this group and stop receiving emails from it, send an email to msysgit+unsubscribe@googlegroups.com.
For more options, visit https://groups.google.com/groups/opt_out.
Previous: Johannes SixtNext: Sebastian Schuberth
Message 6 of 8 in “Same test-path-utils behaves differently on different Windows systems”
  1. Sebastian SchuberthOct 10, 2013
  2. Sebastian SchuberthOct 10, 2013
  3. Johannes SixtOct 10, 2013
  4. Sebastian SchuberthOct 10, 2013
  5. Johannes SixtOct 10, 2013
  6. Sebastian SchuberthOct 10, 2013
  7. Sebastian SchuberthOct 10, 2013
  8. wwiser@gmail.comOct 15, 2013

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.