Bitcoin full node and query server

Nov 24, 2020

View in context in the libbitcoin Slack #general mirror.

L
Should windows files like .cmd be saved in libbitcoin repo with windows line endings CRLF or not? I see there are not. Is it simply the rule that in your repo all the files are stored with LF? What are the best github practices?
L
As far as I see and what stackoverflow says the windows defualt strategy is "core.autocrlf=true". That means convert lines to CRLF on checkout and convert lines to LF when adding files. On linux the strategy is "=input". That doesn't convert lines on checkout and convert lines to LF if needed when adding files. It sounds very clear and reasonable. If other systems (like appveyor) stick to this convention, I do not see a problem either.