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

Re: t9200-git-cvsexportcommit #8 failure on OS X

From
Robin Rosenberg <robin.rosenberg.lists@dewire.com>
Date
Jan 30, 2007, 22:20 UTC
Message-ID
<200701302320.02187.robin.rosenberg.lists@dewire.com>
In-Reply-To
<20070130163219.GA14431@164.242.249.10.in-addr.arpa>

tisdag 30 januari 2007 17:32 skrev Brian Gernhardt: [...]

Show 8 quoted lines
> mkdir: ?: Invalid argument
>
> It looks like one of the odd characters that git's using for the test is
> an invalid character for HFS+, so the entire test fails.  Perhaps this
> should be made a "soft" failure like all of the SVN tests passing
> despite me not having SVN installed, or should a different character be
> used somewhere?  Git can't possibly be expected to work in a situation
> where the FS fails.

My fault. The problem is that the data is ISO-8859-1, which is invalid when interpreted as UTF-8. Another user reported the same problem in cygwin on a Korean Windows. The byte sequences are illegal there too.

A number of solution could be concieved, like converting to the local encoding first, but that cannot be done beacuase I couldn't find any non-ascii characters that would be convertible into any (major) locale.

Another is to ignore the test if these files cannot be created.
-- robin
Previous: Brian GernhardtNext: Robin Rosenberg
Message 2 of 9 in “t9200-git-cvsexportcommit #8 failure on OS X”
  1. Brian GernhardtJan 30, 2007
  2. Robin RosenbergJan 30, 2007
  3. Fail softly if file system does not like test data.Robin Rosenberg, Jan 30, 2007
  4. Brian GernhardtJan 30, 2007
  5. Robin RosenbergJan 31, 2007
  6. Brian GernhardtJan 31, 2007
  7. Robin RosenbergJan 31, 2007
  8. Junio C HamanoJan 31, 2007
  9. Robin RosenbergJan 31, 2007

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.