Skip to contentSkip to conversation

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

PATCH In review Adam Spiers 2 participants 2 messages Jun 15, 2016

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 Add missing -z to git check-attr usage text for consistency with man page

---
 builtin/check-attr.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
builtin/check-attr.c +1 -1
index e1ff575..075d01d 100644
@@ -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
 };
 
Signature · 1 line
1.7.12.147.g6d168f4
#1 lore raw
Quoted 10 lines · Adam Spiers
---
 builtin/check-attr.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
builtin/check-attr.c +0 -0
index e1ff575..075d01d 100644

builtin/check-attr.c static int cached_attrs; · line 14

Quoted 7 lines
builtin/check-attr.c +1 -1
@@ -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.