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

Re: t9200 still failing...

From
Brian Gernhardt <benji@silverinsanity.com>
Date
Feb 3, 2007, 17:41 UTC
Message-ID
<1AAD2384-C52D-4D60-A948-4F14C9515B53@silverinsanity.com>
In-Reply-To
<13848C22-6C0B-46F0-ABC5-1A94D0DB6B06@wf227.com>
On Feb 3, 2007, at 11:17 AM, Wolfgang Fischer wrote:
Show 7 quoted lines
> That was already discussed a lot. Any filename test on OSX with a  
> HFS+ filesystem containing characters with a different UTF-8-NFC  
> and UTF-8-NFD will make such a test fail. If you are using OSX, you  
> might want to use UnicodeChecker to see the encoding difference for  
> such characters. If you want to make such tests pass, either use  
> characters with only one UTF-8 encoding or use a UFS partition to  
> run such tests.

I understand why that causes git-status to continually display "gitweb/test/Märchen" as an untracked file, and I'm fine with that (for the most part). But I don't understand why that causes "git add Å/goo/a/b/c/d/e/f/g/h/i/j/k/l/m/n/o/p/q/r/s/t/u/v/w/x/y/z/å/ä/ö/ gårdetsågårdet.txt" to show a message about gitignore, especially when a "git add ." will pick it up just fine. I'd argue that it's a bug in git, personally, and I can't figure out why it happens.

In any case, to get the test to pass we should probably just put a "- f" on the "git add", at which point it works just fine.

~~ Brian
Previous: Wolfgang FischerNext: Brian Gernhardt
Message 3 of 17 in “t9200 still failing...”
  1. Brian GernhardtFeb 3, 2007
  2. Wolfgang FischerFeb 3, 2007
  3. Brian GernhardtFeb 3, 2007
  4. Use "-f" when adding files with odd names in t9200.Brian Gernhardt, Feb 3, 2007
  5. Junio C HamanoFeb 3, 2007
  6. Brian GernhardtFeb 3, 2007
  7. Junio C HamanoFeb 3, 2007
  8. Brian GernhardtFeb 3, 2007
  9. Junio C HamanoFeb 3, 2007
  10. Junio C HamanoFeb 4, 2007
  11. Shawn O. PearceFeb 4, 2007
  12. Brian GernhardtFeb 4, 2007
  13. Brian GernhardtFeb 4, 2007
  14. Junio C HamanoFeb 5, 2007
  15. Brian GernhardtFeb 5, 2007
  16. Brian GernhardtFeb 6, 2007
  17. Brian GernhardtFeb 3, 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.