git@vger.kernel.org mailing list mirror (one of many)
 help / color / mirror / code / Atom feed
* [PATCH] submodule--helper: fix typo in is_active error message
@ 2017-04-13 22:08 Stefan Beller
  2017-04-13 23:10 ` Brandon Williams
  0 siblings, 1 reply; 2+ messages in thread
From: Stefan Beller @ 2017-04-13 22:08 UTC (permalink / raw)
  To: gitster; +Cc: git, bmwill, Stefan Beller

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


^ permalink raw reply related	[flat|nested] 2+ messages in thread

* Re: [PATCH] submodule--helper: fix typo in is_active error message
  2017-04-13 22:08 [PATCH] submodule--helper: fix typo in is_active error message Stefan Beller
@ 2017-04-13 23:10 ` Brandon Williams
  0 siblings, 0 replies; 2+ messages in thread
From: Brandon Williams @ 2017-04-13 23:10 UTC (permalink / raw)
  To: Stefan Beller; +Cc: gitster, git

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

^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2017-04-13 23:10 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2017-04-13 22:08 [PATCH] submodule--helper: fix typo in is_active error message Stefan Beller
2017-04-13 23:10 ` Brandon Williams

Code repositories for project(s) associated with this public inbox

	https://80x24.org/mirrors/git.git

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).