It is a debugging aid, so it should print to the debugging channel. Signed-off-by: Stefan Beller <sbeller@xxxxxxxxxx> --- string-list.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/string-list.c b/string-list.c index 771c4550980..9f651bb4294 100644 --- a/string-list.c +++ b/string-list.c @@ -200,9 +200,9 @@ void print_string_list(const struct string_list *p, const char *text) { int i; if ( text ) - printf("%s\n", text); + trace_printf("%s\n", text); for (i = 0; i < p->nr; i++) - printf("%s:%p\n", p->items[i].string, p->items[i].util); + trace_printf("%s:%p\n", p->items[i].string, p->items[i].util); } struct string_list_item *string_list_append_nodup(struct string_list *list, -- 2.18.0.597.ga71716f1ad-goog