You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@archiva.apache.org by Eric Barboni <sk...@apache.org> on 2014/04/24 15:56:58 UTC

.gitattributes and eol fun

Hi,  

 

A few line on my journey to git eol paradise

 

1)

Some *.pom file md5/sha1 were calculated with LF and are used as part of
unit test but those file were converted to (CRLF)

I choose to force LF

 

2)

in the .gitattributes file, the last valid rule win the game. 

 *.war and *.jar need to be after * rules

 

Windows users may need to add the following

eol = lf

in core section

 

Hope it still works on mac or linux box.

 

Regards

Eric