Thread (2 messages) flat view 2 messages, 2 authors, 2025-09-16

Re: [PATCH v3 5/7] sparse-checkout: add --verbose option to 'clean'

From: Junio C Hamano <hidden>
Date: 2025-09-15 19:12:55

Derrick Stolee [off-list ref] writes:
On 9/12/2025 6:30 AM, Derrick Stolee via GitGitGadget wrote:
quoted
From: Derrick Stolee <redacted>
quoted
+static void list_every_file_in_dir(const char *msg,
+				   const char *directory)
+{
+	struct strbuf path = STRBUF_INIT;
+
+	strbuf_addstr(&path, directory);
+	fprintf(stderr, "list every file in %s\n", directory);
I don't know how I missed that this debugging output line snuck
in and stayed through my testing. This line should be removed.
quoted
+	for_each_file_in_dir(&path, list_file_iterator, msg);
+	strbuf_release(&path);
+}
;-)  Don't feel bad.  Nobody among other people caught it either.

Locally amended so no need to resubmit only to fix this.

Thanks.
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help