List for cgit developers and users
 help / color / mirror / Atom feed
* [PATCH 1/1] remove debug fprinf() calls that sneaked in with commit 79c985
@ 2014-06-29 16:52 list
  2014-06-29 18:25 ` Jason
  0 siblings, 1 reply; 3+ messages in thread
From: list @ 2014-06-29 16:52 UTC (permalink / raw)


From: Christian Hesse <mail at eworm.de>

---
 scan-tree.c | 4 ----
 1 file changed, 4 deletions(-)

diff --git a/scan-tree.c b/scan-tree.c
index 87fa0c7..044bcdc 100644
--- a/scan-tree.c
+++ b/scan-tree.c
@@ -115,7 +115,6 @@ static void add_repo(const char *base, struct strbuf *path, repo_config_fn fn)
 	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 @@ static void add_repo(const char *base, struct strbuf *path, repo_config_fn fn)
 			*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 @@ static void scan_path(const char *base, const char *path, repo_config_fn fn)
 	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 @@ static void scan_path(const char *base, const char *path, repo_config_fn fn)
 
 	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;
 	}
-- 
2.0.1



^ permalink raw reply	[flat|nested] 3+ messages in thread

* [PATCH 1/1] remove debug fprinf() calls that sneaked in with commit 79c985
  2014-06-29 16:52 [PATCH 1/1] remove debug fprinf() calls that sneaked in with commit 79c985 list
@ 2014-06-29 18:25 ` Jason
  2014-06-29 18:49   ` list
  0 siblings, 1 reply; 3+ messages in thread
From: Jason @ 2014-06-29 18:25 UTC (permalink / raw)


Cool, thanks.

> 2.0.1

Bleeding edge!


^ permalink raw reply	[flat|nested] 3+ messages in thread

* [PATCH 1/1] remove debug fprinf() calls that sneaked in with commit 79c985
  2014-06-29 18:25 ` Jason
@ 2014-06-29 18:49   ` list
  0 siblings, 0 replies; 3+ messages in thread
From: list @ 2014-06-29 18:49 UTC (permalink / raw)


"Jason A. Donenfeld" <Jason at zx2c4.com> on Sun, 2014/06/29 20:25:
> > 2.0.1
> 
> Bleeding edge!

This is last stable release, no?
-- 
main(a){char*c=/*    Schoene Gruesse                         */"B?IJj;MEH"
"CX:;",b;for(a/*    Chris           get my mail address:    */=0;b=c[a++];)
putchar(b-1/(/*               gcc -o sig sig.c && ./sig    */b/42*2-3)*42);}
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 473 bytes
Desc: not available
URL: <http://lists.zx2c4.com/pipermail/cgit/attachments/20140629/49478dd6/attachment.asc>


^ permalink raw reply	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2014-06-29 18:49 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2014-06-29 16:52 [PATCH 1/1] remove debug fprinf() calls that sneaked in with commit 79c985 list
2014-06-29 18:25 ` Jason
2014-06-29 18:49   ` list

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).