Re: [PATCH v2 5/6] remote: read $GIT_DIR/branches/* with strbuf_getline()

2016-02-22 Thread Junio C Hamano
Moritz Neeb writes: > The line read from the branch file is directly trimmed after reading with > strbuf_trim(). There is thus no logic expecting CR, so strbuf_getline_lf() > can be replaced by its CRLF counterpart. > > Signed-off-by: Moritz Neeb > --- > To be honest, I did not yet fully underst

[PATCH v2 5/6] remote: read $GIT_DIR/branches/* with strbuf_getline()

2016-02-21 Thread Moritz Neeb
The line read from the branch file is directly trimmed after reading with strbuf_trim(). There is thus no logic expecting CR, so strbuf_getline_lf() can be replaced by its CRLF counterpart. Signed-off-by: Moritz Neeb --- To be honest, I did not yet fully understand the purpose of this branches/ f