grep.c: remove implicit dependency on the_index
[gitweb.git] / generate-cmdlist.sh
index c4124acbe7802369ff64c12b48a513437c929a20..fa1e5475e87c746ec0d74f5b1606264d9a3a76dc 100755 (executable)
@@ -80,7 +80,7 @@ print_config_list () {
        cat <<EOF
 static const char *config_name_list[] = {
 EOF
-       grep '^[a-zA-Z].*\..*::$' Documentation/config.txt |
+       grep -h '^[a-zA-Z].*\..*::$' Documentation/*config.txt |
        sed '/deprecated/d; s/::$//; s/,  */\n/g' |
        sort |
        while read line