]> gitweb.ps.run Git - ps-cgit/blobdiff - scan-tree.c
git: update to v2.8.2
[ps-cgit] / scan-tree.c
index 2e87999b11b8f10fdbeab0c9b2b20e22b7b46184..1cb4e5d320d7bd98354cde16948795e46a35baf1 100644 (file)
@@ -246,7 +246,7 @@ void scan_projects(const char *path, const char *projectsfile, repo_config_fn fn
                        projectsfile, strerror(errno), errno);
                return;
        }
-       while (strbuf_getline(&line, projects, '\n') != EOF) {
+       while (strbuf_getline(&line, projects) != EOF) {
                if (!line.len)
                        continue;
                strbuf_insert(&line, 0, "/", 1);