I am trying to formalize a patch workflow for our org. We have an internal project where we don't mind white-spaces(would like to keep them same for each user if possible), EOF/EOL characters etc. We have developers working on both Mac and Windows platform. AT both places we use git with Cygwin.
I read here that core.autocrlf true does the trick or you can use --keep-cr
.
But here VonC suggests core.autocrlf
false is a better strategy.
My Questions are:
- When to use true and when false? (I just don't want git to bug me and patches should apply smooth).
- When was
--keep-cr
introduced? I use git 1.7.2 and am man page does not have this option? - What Ignore-whitespace options to use so as to have smooth patch workflow?