fins de linha git: renormalize não parece verificar as terminações de linha direita
Eu decidi definir meus finais de linha do jeito certo através de um.gitattributes
arquivo como detalhado por exemploAqui - então eu configurei o core.autocrlf para false e criei e enviei um arquivo .gitattributes:
*.java text eol=native
*.jsp text eol=native
*.css text eol=native
*.html text eol=native
*.js text eol=native
*.xml text eol=native
*.sql text eol=native
*.MF text eol=native
# git files
*.gitignore text eol=native
*.gitattributes text eol=native
#eclipse files
*.classpath text eol=native
*.project text eol=native
*.prefs text eol=native
*.properties text eol=native
Eu então emitigit rm --cached -r .
e depoisgit reset --hard
(tentei tambémgit checkout HEAD
), como sugeridoAqui. Agora todos os arquivos têm finais de linha LF. Não deve ser CRLF? O que eu sinto falta? Estou no windows 7,git version 1.8.0.msysgit.0
.
obrigado