Thread (1 message) 1 message, 1 author, 2021-05-20

Re: [PATCH] help: fix small typo in error message

From: Junio C Hamano <hidden>
Date: 2021-05-20 22:53:17

Jean-Noël Avila [off-list ref] writes:
Classic string concatenation while forgetting a space character.

Signed-off-by: Jean-Noël Avila <redacted>
---
 list-objects-filter-options.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
Thanks.  This is a new message added in this round, so let's
fast-track this fix down.


quoted hunk
diff --git a/list-objects-filter-options.c b/list-objects-filter-options.c
index 96a605c8ad..fd8d59f653 100644
--- a/list-objects-filter-options.c
+++ b/list-objects-filter-options.c
@@ -102,7 +102,7 @@ static int gently_parse_list_objects_filter(
 	} else if (skip_prefix(arg, "object:type=", &v0)) {
 		int type = type_from_string_gently(v0, strlen(v0), 1);
 		if (type < 0) {
-			strbuf_addf(errbuf, _("'%s' for 'object:type=<type>' is"
+			strbuf_addf(errbuf, _("'%s' for 'object:type=<type>' is "
 					      "not a valid object type"), v0);
 			return 1;
 		}
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help