Thread (1 message) 1 message, 1 author, 2021-12-30

Re: [PATCH v3 07/11] i18n: factorize "no directory given for --foo"

From: Junio C Hamano <hidden>
Date: 2021-12-30 22:36:47

"Jean-Noël Avila via GitGitGadget"  [off-list ref] writes:
quoted hunk
 		} else if (!strcmp(cmd, "--git-dir")) {
 			if (*argc < 2) {
-				fprintf(stderr, _("no directory given for --git-dir\n" ));
+				fprintf(stderr, _("no directory given for %s\n" ), "--git-dir");
 				usage(git_usage_string);
 			}
 			setenv(GIT_DIR_ENVIRONMENT, (*argv)[1], 1);
None of the originals of these three uses it, but I wonder if we
want a single-quote-pair around %s.
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help