The git repo, at a particular commit, has an objective contents. I suspect that when you use ‘git checkout’ with particular options, you don’t get those objective contents, you get something customized for your line-ending preference.
> On Dec 12, 2019, at 7:46 AM, Vladimir Sitnikov <[email protected]> > wrote: > >> I think a source distribution should contain the raw, unprocessed source > files. > > What do you mean by "raw"? > > If I check out the same repository on Windows and macOS, I would get > **different** file contents for *.java files. > Windows machine would check out files as CRLF, and macOS would checkout the > same files as LF. > > It is something that is controlled with > https://github.com/apache/calcite-avatica/blob/512bbee4aa24ef9fb8106d0286d1243679dce2d0/.gitattributes#L2 > > Vladimir
