On Mon, Nov 23, 2009 at 7:10 PM, Thomas Singer <thomas.singer@xxxxxxxxxxx> wrote: > I can't simply tunnel the file name as byte array to the > invoked Git command - I simply don't know how to transform the characters of > the file name to a representation the Git command line client will > understand[2]. Ouch - so git is respecting whatever name the user and/or OS have picked, but Java wants to canonicalize it, and whatever scheme it uses does not match OSX? That must hurt Java usage on OSX a lot. Sure they have a workaround...? Suggestions: 1 - Configure Java to canonicalize in the same style as OSX. Actually, OSX's canonicalization is somewhat arbitrary so I think it exposes a call to canonicalize a string "the right way". 2 - Many git calls accept filenames via STDIN - Java will surely write binary there... 3 - xargs with its -z parameter can complement #2 hth, m -- martin.langhoff@xxxxxxxxx martin@xxxxxxxxxx -- School Server Architect - ask interesting questions - don't get distracted with shiny stuff - working code first - http://wiki.laptop.org/go/User:Martinlanghoff -- To unsubscribe from this list: send the line "unsubscribe git" in the body of a message to majordomo@xxxxxxxxxxxxxxx More majordomo info at http://vger.kernel.org/majordomo-info.html