[logback-dev] CRLF line endings in source repository

Tomasz Nurkiewicz nurkiewicz at gmail.com
Tue Mar 29 19:28:09 CEST 2011


Hi!

I noticed couple of files have Windows (CRLF) line endings in official 
repository on GitHub, namely:

$ find . -iname "*.java" -exec file {} \; | grep CRLF
./logback-examples/src/main/java/chapters/architecture/SelectionRule.java: 
ASCII Java program text, with CRLF line terminators
./logback-classic/src/test/java/ch/qos/logback/classic/turbo/lru/T_Entry.java: 
ASCII English text, with CRLF line terminators
./logback-classic/src/test/java/ch/qos/logback/classic/turbo/lru/LRUCache.java: 
ASCII English text, with CRLF line terminators
./logback-classic/src/test/java/ch/qos/logback/classic/turbo/lru/T_LRUCache.java: 
ASCII English text, with CRLF line terminators
./logback-classic/src/test/java/ch/qos/logback/classic/turbo/lru/Event.java: 
ASCII English text, with CRLF line terminators
./logback-classic/src/test/java/ch/qos/logback/classic/turbo/lru/Simulator.java: 
ASCII English text, with CRLF line terminators
./logback-classic/src/test/java/ch/qos/logback/classic/turbo/lru/LRUCacheTest.java: 
ASCII English text, with CRLF line terminators
./logback-core/src/main/java/ch/qos/logback/core/util/EnvUtil.java: 
ASCII English text, with CRLF line terminators
./logback-core/src/main/java/ch/qos/logback/core/pattern/parser/SimpleKeywordNode.java: 
ASCII English text, with CRLF line terminators

These files are marked as modified immediately after cloning fresh copy 
of the repository (all lines modified). I am using Ubuntu 10.10, Git 
1.7.1, core.autocrlf=input. Can somebody please fix EOLs to LF in the 
files above and push the changes? It causes me a headache when trying to 
merge with official repo as I am not very fammiliar with Git.

Thanks in advance!

-- 
Tomasz Nurkiewicz
http://nurkiewicz.blogspot.com


More information about the logback-dev mailing list