How can I tell Git to truly not care about line endings? To leave them as LF or CRLF, as they originally were, and check them in the same way?
I'm using a Git repository with git-tf to check in to a TFS repository. The rest of my team is using TFS exclusively.
That being the case, sometimes they change line endings without knowing it. For instance, recently a third-party tool normalized its line endings, among other changes. Our repo was updated with these changes, and now the files show as having changes in my directory due to different line endings.
What I really want, for this particular repository, is to have Git pretend line-ending changes don't exist. If it's LF, leave it as LF. If it's CRLF, leave it as CRLF.
What setting or combination of settings do I need in order to do this?