README.md: move down historical explanation about the name
[gitweb.git] / sha1_file.c
index 86b5e8cf724a771e1b18630793a3ff488c904bbc..aab1872b4c95416fc7c8ae9c93cd25f341e2d4c1 100644 (file)
@@ -396,7 +396,7 @@ void add_to_alternates_file(const char *reference)
                struct strbuf line = STRBUF_INIT;
                int found = 0;
 
-               while (strbuf_getline_lf(&line, in) != EOF) {
+               while (strbuf_getline(&line, in) != EOF) {
                        if (!strcmp(reference, line.buf)) {
                                found = 1;
                                break;