git claims changes in C# files, but none are found -
i've been going through cleaning company's repository lf normalization, following method here, way git status
: https://stackoverflow.com/a/4683783/1827734
i've used set of settings in .gitattributes
file:
* text=auto *.sln text eol=crlf *.asax text eol=crlf *.cs text eol=crlf diff=csharp *.csproj text eol=crlf
the codebase java files, there few c# files (.cs, .sln, etc) git trying mark changed. i've verify crlf -> lf conversion other files in codebase because of warning shows when git diff
them, there no warning these files (as expected). i've tried using other diff programs meld see if show else (using cat , piping pbcopy, making sure show whitespace differences), they're reported identical. when use --ignore-space-at-eol
or --ignore-space-change
flags, no differences show, it's leading me believe there's white space change somewhere git sees can't see how possible after using different diff programs.
the other guess i'd have bom character @ beginning of file; it's thing stands out different these files, yet values shown identical:
using: * osx 10.10.5 * git version 2.3.8 (apple git-58)
Comments
Post a Comment