I tried hard to make that work on the first approval test Michael wrote and couldn't do it - somehow TC would completely ignore the .gitattributes (and I had set it to checkout on agent). So I went for CRLF setting and it worked.

P.S. by all gitignore bits above I meant gitattribs :)