I am trying to get git to not change any line endings whatsoever for any operation. Unfortunately, it seems to do so not matter what. I have reduced it down to the followi
From gitattributes(5) Manual Page "Effects" topic
textThis attribute enables and controls end-of-line normalization. When a text file is normalized, its line endings are converted to LF in the repository. To control what line ending style is used in the working directory, use the
eolattribute for a single file and thecore.eolconfiguration variable for all text files.
SetSetting the text attribute on a path enables end-of-line normalization and marks the path as a text file. End-of-line conversion takes place without guessing the content type.
UnsetUnsetting the text attribute on a path tells Git not to attempt any end-of-line conversion upon checkin or checkout.
core.autocrlf in new (1.7.2+) Git not used, core.eol and correct setting|unsetting of text-attribute considered as more reliable way