[Mono-dev] Git line-ending issues
Michael Hutchinson
m.j.hutchinson at gmail.com
Thu Jan 6 16:12:14 EST 2011
On Thu, Jan 6, 2011 at 3:38 PM, <stifu at free.fr> wrote:
> No, shamefully I thought I could get away with directly editing the file from the GitHub web interface (which actually works fine with files that aren't "-crlf"). I'll refrain from doing so in the future, as I guess it's not recommended (can't even preview).
> Do you have an opinion about how I should fix this issue (if there is actually anything to fix)?
Don't use tools that autoconvert and ignore .gitattributes.
> And aren't all those files defined in the .gitattributes file only there for historical reasons, rather than being something desirable? I wouldn't mind going through files (WinForms only, in my case) to convert them all to the same format, if it's something that sounds any good.
Conversion without a good reason is bad because it adds a ton of noise
to history, for example annotation.becomes ~useless.
--
Michael Hutchinson
http://mjhutchinson.com
More information about the Mono-devel-list
mailing list