# [PATCH] submodule: use the imperative mood to describe the --files option

3 messages from 2021-05-16 to 2021-05-17. Participants: Alex Henrie, Bagas Sanjaya, Junio C Hamano.
Thread: https://gitlist.dev/t/55706

## Alex Henrie, 2021-05-16 21:59

Subject: [PATCH] submodule: use the imperative mood to describe the --files option
Message-ID: <20210516215957.33341-1-alexhenrie24@gmail.com>
URL: https://gitlist.dev/e/20210516215957.33341-1-alexhenrie24%40gmail.com

```
Signed-off-by: Alex Henrie <alexhenrie24@gmail.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 d55f6262e9..ae6174ab05 100644
--- a/builtin/submodule--helper.c
+++ b/builtin/submodule--helper.c
@@ -1300,7 +1300,7 @@ static int module_summary(int argc, const char **argv, const char *prefix)
 		OPT_BOOL(0, "cached", &cached,
 			 N_("use the commit stored in the index instead of the submodule HEAD")),
 		OPT_BOOL(0, "files", &files,
-			 N_("to compare the commit in the index with that in the submodule HEAD")),
+			 N_("compare the commit in the index with that in the submodule HEAD")),
 		OPT_BOOL(0, "for-status", &for_status,
 			 N_("skip submodules with 'ignore_config' value set to 'all'")),
 		OPT_INTEGER('n', "summary-limit", &summary_limit,
-- 
2.31.1


```

## Bagas Sanjaya, 2021-05-17 05:58

Subject: Re: [PATCH] submodule: use the imperative mood to describe the --files option
Message-ID: <1cfb25fd-1ef9-864c-bbb3-bab0a5676728@gmail.com>
URL: https://gitlist.dev/e/1cfb25fd-1ef9-864c-bbb3-bab0a5676728%40gmail.com
In-Reply-To: <20210516215957.33341-1-alexhenrie24@gmail.com>

```
Hi Alex,

On 17/05/21 04.59, Alex Henrie wrote:
> -			 N_("to compare the commit in the index with that in the submodule HEAD")),
> +			 N_("compare the commit in the index with that in the submodule HEAD")),

Seems correct.

FYI, on my native language (Indonesian), we say "Review yourself" as
"Tinjau dirimu" for imperative mood. Unfortunately many imperative
sentences on software l10n instead prefix the verb with "me-", such as
"meninjau dirimu". That is not imperative mood; that is descriptive
mood with infinitive verb form.

Anyway, thanks.

Reviewed-by: Bagas Sanjaya <bagasdotme@gmail.com>

-- 
An old man doll... just what I always wanted! - Clara

```

## Junio C Hamano, 2021-05-17 06:56

Subject: Re: [PATCH] submodule: use the imperative mood to describe the --files option
Message-ID: <xmqqmtst3l31.fsf@gitster.g>
URL: https://gitlist.dev/e/xmqqmtst3l31.fsf%40gitster.g
In-Reply-To: <20210516215957.33341-1-alexhenrie24@gmail.com>

```
Alex Henrie <alexhenrie24@gmail.com> writes:

> Signed-off-by: Alex Henrie <alexhenrie24@gmail.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 d55f6262e9..ae6174ab05 100644
> --- a/builtin/submodule--helper.c
> +++ b/builtin/submodule--helper.c
> @@ -1300,7 +1300,7 @@ static int module_summary(int argc, const char **argv, const char *prefix)
>  		OPT_BOOL(0, "cached", &cached,
>  			 N_("use the commit stored in the index instead of the submodule HEAD")),
>  		OPT_BOOL(0, "files", &files,
> -			 N_("to compare the commit in the index with that in the submodule HEAD")),
> +			 N_("compare the commit in the index with that in the submodule HEAD")),
>  		OPT_BOOL(0, "for-status", &for_status,
>  			 N_("skip submodules with 'ignore_config' value set to 'all'")),
>  		OPT_INTEGER('n', "summary-limit", &summary_limit,

Unlike many other helper functions in this file, this one is likely
to survive when the remainder of "git submodule" scripted Porcelain
is rewritten in C, so it is a good idea to update it with this
patch.

Thanks, will queue.

```
