Skip to content

Commit 746aae3

Browse files
adlternativegitster
authored andcommitted
ls-files: fix black space in error message
ce74de9(ls-files: introduce "--format" option) miss a space between two words incorrectly, it leads to wrong i10n messages. So fix it by adding a space at the end of the error message. Signed-off-by: ZheNing Hu <[email protected]> Signed-off-by: Junio C Hamano <[email protected]>
1 parent ce74de9 commit 746aae3

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

builtin/ls-files.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -257,7 +257,7 @@ static size_t expand_show_index(struct strbuf *sb, const char *start,
257257

258258
end = strchr(start + 1, ')');
259259
if (!end)
260-
die(_("bad ls-files format: element '%s'"
260+
die(_("bad ls-files format: element '%s' "
261261
"does not end in ')'"), start);
262262

263263
len = end - start + 1;

0 commit comments

Comments
 (0)