@@ -24,6 +24,7 @@ int main(int argc, char *argv[])
24
24
bool license = true;
25
25
bool tests = true;
26
26
bool other = true;
27
+ bool info = true;
27
28
bool gitonly = false;
28
29
bool nul_term = false;
29
30
bool fullpath = false;
@@ -33,6 +34,8 @@ int main(int argc, char *argv[])
33
34
"Don't list .c and .h files" );
34
35
opt_register_noarg ("--no-license" , opt_set_invbool , & license ,
35
36
"Don't list license file" );
37
+ opt_register_noarg ("--no-info" , opt_set_invbool , & info ,
38
+ "Don't list _info file" );
36
39
opt_register_noarg ("--no-tests" , opt_set_invbool , & tests ,
37
40
"Don't list test files" );
38
41
opt_register_noarg ("--no-other" , opt_set_invbool , & other ,
@@ -55,6 +58,10 @@ int main(int argc, char *argv[])
55
58
struct manifest * m = get_manifest (NULL , argv [i ]);
56
59
struct list_head * list ;
57
60
struct ccan_file * f ;
61
+
62
+ if (info )
63
+ add_file (m -> info_file , fullpath , nul_term , gitonly );
64
+
58
65
if (code ) {
59
66
foreach_ptr (list , & m -> c_files , & m -> h_files ) {
60
67
list_for_each (list , f , list )
0 commit comments