builtin/checkout.c: mark strings for translation
[gitweb.git] / sha1_file.c
index ab16c7b98cbd72bc79e8c0866417889626e2e71a..02517009c15ffe5ef8bc8174805a9746e809eeab 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(&line, in, '\n') != EOF) {
+               while (strbuf_getline(&line, in) != EOF) {
                        if (!strcmp(reference, line.buf)) {
                                found = 1;
                                break;