Hi, Thanks for writing git. It's a darn useful tool. But one thing: One of the pre-commit hooks detects trailing whitespace: if (/\s$/) { bad_line("trailing whitespace", $_); } Unfortunately, when I try to check in a file with DOS (CR+LF) line endings, this hook triggers on every line. This happens on Cygwin. I haven't checked, but I bet it happens on other platforms as well, as long as this hook runs. But the error message "trailing whitespace" doesn't clearly tell me what's wrong. 1. Could you please modify Git so that, when such a problem happens, it instead prints an message saying that the file has CR+LF line endings, and that Git does not allow this? 2. In addition, could you please enable the core.autocrlf and core.safecrlf options by default in the next version of Git? P.S. I hereby release the contents of this e-mail message to the public domain. Thanks in advance, -- Jason Spiro: software/web developer, packager, trainer, IT consultant. I support Linux, UNIX, Windows, and more. Contact me to discuss your needs. +1 (416) 992-3445 / www.jspiro.com -- 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