Skip to contentSkip to conversation

submodule--helper: fix typo in is_active error message

PATCH In review Stefan Beller 2 participants 2 messages Apr 13, 2017

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 submodule--helper: fix typo in is_active error message

---
 builtin/submodule--helper.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
builtin/submodule--helper.c +1 -1
index e42e671014..b1d4269e10 100644
@@ -1145,7 +1145,7 @@ static int absorb_git_dirs(int argc, const char **argv, const char *prefix)
 static int is_active(int argc, const char **argv, const char *prefix)
 {
 	if (argc != 2)
-		die("submodule--helper is-active takes exactly 1 arguments");
+		die("submodule--helper is-active takes exactly 1 argument");
 
 	gitmodules_config();
 
Signature · 1 line
2.12.2.603.g7b28dc31ba
#1 lore raw
Quoted 10 lines · Stefan Beller
---
 builtin/submodule--helper.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
builtin/submodule--helper.c +0 -0
index e42e671014..b1d4269e10 100644

builtin/submodule--helper.c static int absorb_git_dirs(int argc, const char **argv, const char *prefix) · line 1148

Quoted 5 lines
builtin/submodule--helper.c +1 -1
@@ -1145,7 +1145,7 @@ static int absorb_git_dirs(int argc, const char **argv, const char *prefix)
 static int is_active(int argc, const char **argv, const char *prefix)
 {
 	if (argc != 2)
-		die("submodule--helper is-active takes exactly 1 arguments");
+		die("submodule--helper is-active takes exactly 1 argument");

Obvious fix. Thanks!

Quoted 6 lines
builtin/submodule--helper.c +0 -0
 	gitmodules_config();
 
Signature · 1 line
2.12.2.603.g7b28dc31ba
Signature · 1 line
Brandon Williams