all repos — cgit @ 4b91269bdbc21a664cc56c26d6071c630560f2e0

a hyperfast web frontend for git written in c

remove debug fprinf() calls that sneaked in with commit 79c985
Christian Hesse mail@eworm.de
Sun, 29 Jun 2014 18:52:16 +0200
commit

4b91269bdbc21a664cc56c26d6071c630560f2e0

parent

390ffad022336b02dca6dec23504cefeb12adada

1 files changed, 0 insertions(+), 4 deletions(-)

jump to
M scan-tree.cscan-tree.c

@@ -115,7 +115,6 @@ strbuf_setlen(&rel, rel.len - 5);

else if (rel.len && rel.buf[rel.len - 1] == '/') strbuf_setlen(&rel, rel.len - 1); - fprintf(stderr, "add_repo(): %s\n", rel.buf); repo = cgit_add_repo(rel.buf); config_fn = fn; if (ctx.cfg.enable_git_config) {

@@ -162,7 +161,6 @@ if (slash && !n) {

*slash = '\0'; repo->section = xstrdup(rel.buf); *slash = '/'; - fprintf(stderr, "repo->name %s, repo->section %s\n", repo->name, repo->section); if (starts_with(repo->name, repo->section)) { repo->name += strlen(repo->section); if (*repo->name == '/')

@@ -186,7 +184,6 @@ struct strbuf pathbuf = STRBUF_INIT;

size_t pathlen = strlen(path); struct stat st; - fprintf(stderr, "scan_path(): %s\n", path); if (!dir) { fprintf(stderr, "Error opening directory %s: %s (%d)\n", path, strerror(errno), errno);

@@ -195,7 +192,6 @@ }

strbuf_add(&pathbuf, path, strlen(path)); if (is_git_dir(pathbuf.buf)) { - fprintf(stderr, "scan_path() is_git_dir: %s\n", path); add_repo(base, &pathbuf, fn); goto end; }