Skip to main content

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [List Home]
[mdt-papyrus.dev] The .gitattributes file and line-ending conversion

Hi, again,

(busy night here in Ottawa, it would seem)

Some weeks ago, the Papyrus git repo acquired a .gitattributes file that sets automatic CRLF conversion for all text files in the repository.  In theory, this is a good thing.  But, so far, EGit/JGit does not recognize this file and its CRLF configuration.  I suppose that most Papyrus developers (all but me?) use EGit exclusively for version control operations, or else are on a platform where the whitespace conversion has no impact.

On my Mac system, I have 15800 files that git (the command-line tool) requires me to commit to convert line endings.  Because I am not certain that I should do this conversion, I cannot use the command-line or GUI tools such as Tower or GitUp to perform rebases and other complex operations, but must use EGit which on such operations scales very badly for workspaces like Papyrus that comprise several hundred projects.

Does anybody know of a good reason why I should not commit these 15800 line-ending conversion and push them to the central git repository so that everybody may now see text file line endings and I may actually use the git command-line again?  Or should we remove the .gitattributes file, since it has no effect on EGit anyways?

Thanks,

Christian

Back to the top