threads / patch / 31562

patchAdd missing -z to git check-attr usage text for consistency with man page

Subject: [PATCH] Add missing -z to git check-attr usage text for consistency with man page

## tl;dr

2 messages between Sep 17, 2012 and Sep 17, 2012. Diffs are folded; open one to read it.

replies: 1people: 2as markdown or json

Adam Spiers· Sep 17, 2012, 11:38 UTC · lore
Signed-off-by: Adam Spiers <git@adamspiers.org>
---
 builtin/check-attr.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
Show changes to builtin/check-attr.c +1 −1
diff --git a/builtin/check-attr.c b/builtin/check-attr.c
index e1ff575..075d01d 100644
--- a/builtin/check-attr.c
+++ b/builtin/check-attr.c
@@ -9,7 +9,7 @@ static int cached_attrs;
 static int stdin_paths;
 static const char * const check_attr_usage[] = {
 N_("git check-attr [-a | --all | attr...] [--] pathname..."),
-N_("git check-attr --stdin [-a | --all | attr...] < <list-of-paths>"),
+N_("git check-attr --stdin [-z] [-a | --all | attr...] < <list-of-paths>"),
 NULL
 };
 
-- 
1.7.12.147.g6d168f4
Junio C Hamano· Sep 17, 2012, 20:45 UTC · re: Adam Spiers · lore

Re: [PATCH] Add missing -z to git check-attr usage text for consistency with man page

Adam Spiers <git@adamspiers.org> writes:
Show 17 quoted lines
> Signed-off-by: Adam Spiers <git@adamspiers.org>
> ---
>  builtin/check-attr.c | 2 +-
>  1 file changed, 1 insertion(+), 1 deletion(-)
>
> diff --git a/builtin/check-attr.c b/builtin/check-attr.c
> index e1ff575..075d01d 100644
> --- a/builtin/check-attr.c
> +++ b/builtin/check-attr.c
> @@ -9,7 +9,7 @@ static int cached_attrs;
>  static int stdin_paths;
>  static const char * const check_attr_usage[] = {
>  N_("git check-attr [-a | --all | attr...] [--] pathname..."),
> -N_("git check-attr --stdin [-a | --all | attr...] < <list-of-paths>"),
> +N_("git check-attr --stdin [-z] [-a | --all | attr...] < <list-of-paths>"),
>  NULL
>  };

I think this deserves to go to 'maint' that does not yet have the i18n on this part, so I'll wiggle the patch to apply there and merge it up.

Thanks.

← back to recent threads