Set core.eol=autocrlf for those who don't.
First pass at the public API.