# [PATCH] submodule--helper: fix typo in is_active error message

2 messages from 2017-04-13 to 2017-04-13. Participants: Stefan Beller, Brandon Williams.
Thread: https://gitlist.dev/t/45688

## Stefan Beller, 2017-04-13 22:08

Subject: [PATCH] submodule--helper: fix typo in is_active error message
Message-ID: <20170413220854.14767-1-sbeller@google.com>
URL: https://gitlist.dev/e/20170413220854.14767-1-sbeller%40google.com

```
Signed-off-by: Stefan Beller <sbeller@google.com>
---
 builtin/submodule--helper.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/builtin/submodule--helper.c b/builtin/submodule--helper.c
index e42e671014..b1d4269e10 100644
--- a/builtin/submodule--helper.c
+++ b/builtin/submodule--helper.c
@@ -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();
 
-- 
2.12.2.603.g7b28dc31ba


```

## Brandon Williams, 2017-04-13 23:10

Subject: Re: [PATCH] submodule--helper: fix typo in is_active error message
Message-ID: <20170413231007.GC115420@google.com>
URL: https://gitlist.dev/e/20170413231007.GC115420%40google.com
In-Reply-To: <20170413220854.14767-1-sbeller@google.com>

```
On 04/13, Stefan Beller wrote:
> Signed-off-by: Stefan Beller <sbeller@google.com>
> ---
>  builtin/submodule--helper.c | 2 +-
>  1 file changed, 1 insertion(+), 1 deletion(-)
> 
> diff --git a/builtin/submodule--helper.c b/builtin/submodule--helper.c
> index e42e671014..b1d4269e10 100644
> --- a/builtin/submodule--helper.c
> +++ b/builtin/submodule--helper.c
> @@ -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!

>  
>  	gitmodules_config();
>  
> -- 
> 2.12.2.603.g7b28dc31ba
> 

-- 
Brandon Williams

```
