about summary refs log tree commit diff stats
path: root/scan-tree.c
diff options
context:
space:
mode:
Diffstat (limited to 'scan-tree.c')
-rw-r--r--scan-tree.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/scan-tree.c b/scan-tree.c index 2e87999..1cb4e5d 100644 --- a/scan-tree.c +++ b/scan-tree.c
@@ -246,7 +246,7 @@ void scan_projects(const char *path, const char *projectsfile, repo_config_fn fn
246 projectsfile, strerror(errno), errno); 246 projectsfile, strerror(errno), errno);
247 return; 247 return;
248 } 248 }
249 while (strbuf_getline(&line, projects, '\n') != EOF) { 249 while (strbuf_getline(&line, projects) != EOF) {
250 if (!line.len) 250 if (!line.len)
251 continue; 251 continue;
252 strbuf_insert(&line, 0, "/", 1); 252 strbuf_insert(&line, 0, "/", 1);