Thread (1 message) 1 message, 1 author, 2019-08-14

Re: [PATCH] get_next_submodule(): format error string as an error

From: Junio C Hamano <hidden>
Date: 2019-08-14 16:15:53

Jeff King [off-list ref] writes:
On Wed, Aug 14, 2019 at 09:57:50AM +0000, Paolo Pettinato (ppettina) wrote:
quoted
Could not access submodule 'sm' # fails, plus no newline here :P!
This part seems easy enough to fix.
Indeed, it is ;-)
quoted hunk
diff --git a/submodule.c b/submodule.c
index 0f199c5137..a5ba57ac36 100644
--- a/submodule.c
+++ b/submodule.c
@@ -1478,7 +1478,7 @@ static int get_next_submodule(struct child_process *cp,
 			    !is_empty_dir(ce->name)) {
 				spf->result = 1;
 				strbuf_addf(err,
-					    _("Could not access submodule '%s'"),
+					    _("error: could not access submodule '%s'\n"),
 					    ce->name);
 			}
 		}
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help