Thread (1 message) 1 message, 1 author, 2016-06-15

Re: [PATCHv3 01/13] Sending "Fetching submodule <foo>" output to stderr

From: Junio C Hamano <hidden>
Date: 2016-06-15 23:06:38

Stefan Beller [off-list ref] writes:
Subject: Re: [PATCHv3 01/13] Sending "Fetching submodule <foo>" output to stderr
Subject: submodule: send "...." to standard error

or something?
 		if (is_directory(git_dir)) {
 			if (!quiet)
-				printf("Fetching submodule %s%s\n", prefix, ce->name);
+				fprintf(stderr, "Fetching submodule %s%s\n", prefix, ce->name);
 			cp.dir = submodule_path.buf;
 			argv_array_push(&argv, default_argv);
 			argv_array_push(&argv, "--submodule-prefix");
The change itself (above) and updates to the tests (omitted) looked
sensible.

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