here is my patch http://n2.nabble.com/file/n786034/0001-ingore-cr-at-eol-when-diff-with-color-auto.patch 0001-ingore-cr-at-eol-when-diff-with-color-auto.patch -- View this message in context: http://n2.nabble.com/question%3A-how-to-ignore-extral-CR-when-diff-dos-format-files-with-%27color%3Dauto%27-tp783231p786034.html Sent from the git mailing list archive at Nabble.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