Skip to contentSkip to conversation

submodule-helper: Fix a missing space

PATCH In review Fangyi Zhou 2 participants 2 messages Apr 6, 2022 – Apr 7, 2022

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 submodule-helper: Fix a missing space

The missing space at the end of the line makes the closing square bracket sticking to the dash in the next line

Found during localisation v2.36.0 round 1

---
 builtin/submodule--helper.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
builtin/submodule--helper.c +1 -1
index c3e0d4570f..0b8b226c8f 100644
@@ -1902,7 +1902,7 @@ static int module_clone(int argc, const char **argv, const char *prefix)
 	const char *const git_submodule_helper_usage[] = {
 		N_("git submodule--helper clone [--prefix=<path>] [--quiet] "
 		   "[--reference <repository>] [--name <name>] [--depth <depth>] "
-		   "[--single-branch] [--filter <filter-spec>]"
+		   "[--single-branch] [--filter <filter-spec>] "
 		   "--url <url> --path <path>"),
 		NULL
 	};
Signature · 1 line
2.35.1
#1 lore raw
Quoted 7 lines · Fangyi Zhou

The missing space at the end of the line makes the closing square bracket sticking to the dash in the next line

Found during localisation v2.36.0 round 1

---

As this is new in 2.36, let's queue it for -rc1.

Thanks.

Quoted 16 lines
 builtin/submodule--helper.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
builtin/submodule--helper.c +1 -1
index c3e0d4570f..0b8b226c8f 100644
@@ -1902,7 +1902,7 @@ static int module_clone(int argc, const char **argv, const char *prefix)
 	const char *const git_submodule_helper_usage[] = {
 		N_("git submodule--helper clone [--prefix=<path>] [--quiet] "
 		   "[--reference <repository>] [--name <name>] [--depth <depth>] "
-		   "[--single-branch] [--filter <filter-spec>]"
+		   "[--single-branch] [--filter <filter-spec>] "
 		   "--url <url> --path <path>"),
 		NULL
 	};