ExPaNDS-eu / ExPaNDS-experimental-techniques-ontology

EU Photon and Neutron Ontologies (task 3.2)
8 stars 4 forks source link

Add text declaration of files #147

Closed paulmillar closed 2 months ago

paulmillar commented 3 months ago

Motivation:

Operating systems have different standards for line endings. When working collaboratively, these differences cause problems.

Modification:

Add a .gitattributes file to identify certain files as containing text. These are then stored (in github) following a canonical representation (Unix or LF-ending). The git command will automatically convert these text files on OSes with different line-ending conventions, which will allow editing according to OS-native convention.

The CHANGELOG.md file is updated to the canonical form. Some trailing whitespace is also removed.

Result:

Greater protection against text files suffering from line-ending confusion.

Closes: #141