@@ -13,14 +13,14 @@ N_("git check-attr --stdin [-z] [-a | --all | attr...] < <list-of-paths>"),
13
13
NULL
14
14
};
15
15
16
- static int null_term_line ;
16
+ static int nul_term_line ;
17
17
18
18
static const struct option check_attr_options [] = {
19
19
OPT_BOOLEAN ('a' , "all" , & all_attrs , N_ ("report all attributes set on file" )),
20
20
OPT_BOOLEAN (0 , "cached" , & cached_attrs , N_ ("use .gitattributes only from the index" )),
21
21
OPT_BOOLEAN (0 , "stdin" , & stdin_paths , N_ ("read file names from stdin" )),
22
- OPT_BOOLEAN ('z' , NULL , & null_term_line ,
23
- N_ ("input paths are terminated by a null character" )),
22
+ OPT_BOOLEAN ('z' , NULL , & nul_term_line ,
23
+ N_ ("input paths are terminated by a NUL character" )),
24
24
OPT_END ()
25
25
};
26
26
@@ -65,7 +65,7 @@ static void check_attr_stdin_paths(const char *prefix, int cnt,
65
65
struct git_attr_check * check )
66
66
{
67
67
struct strbuf buf , nbuf ;
68
- int line_termination = null_term_line ? 0 : '\n' ;
68
+ int line_termination = nul_term_line ? 0 : '\n' ;
69
69
70
70
strbuf_init (& buf , 0 );
71
71
strbuf_init (& nbuf , 0 );
0 commit comments