afeld / git-setup

easy Git setup
MIT License
13 stars 3 forks source link

add core.precomposeunicode #12

Closed afeld closed 10 years ago

afeld commented 10 years ago

Ran into a weird error with unicode filenames, and got this suggestion from @peff to deal with encodings on HFS+ vs. other platforms. Don't think there's a downside, but someone please correct me if I'm wrong.

peff commented 10 years ago

You shouldn't need to do this. The config option is a workaround for git clones on particular filesystems. So it depends on where you create the repo, not just the system you're on (you would want it on if you have create the repo on an HFS+ partition, but not if you are creating it on a network share, or a USB key, etc). Git tests the filesystem and sets this automatically when it creates the clone.

afeld commented 10 years ago

Cool, thanks for the feedback. Curious to hear if you have any other recommendations for what should go in the script to make things n00b-friendly (short of those things being added in Git core :wink:).