]> git.ipfire.org Git - thirdparty/git.git/blobdiff - generate-cmdlist.sh
Merge branch 'jt/t5500-unflake'
[thirdparty/git.git] / generate-cmdlist.sh
index 71158f7d8ba9c774ca6790ea8594e96accb17fce..45fecf8bdfb21abea3c8935ba926ab819773509e 100755 (executable)
@@ -76,23 +76,6 @@ print_command_list () {
        echo "};"
 }
 
-print_config_list () {
-       cat <<EOF
-static const char *config_name_list[] = {
-EOF
-       grep -h '^[a-zA-Z].*\..*::$' Documentation/*config.txt Documentation/config/*.txt |
-       sed '/deprecated/d; s/::$//; s/,  */\n/g' |
-       sort |
-       while read line
-       do
-               echo "  \"$line\","
-       done
-       cat <<EOF
-       NULL,
-};
-EOF
-}
-
 exclude_programs=
 while test "--exclude-program" = "$1"
 do
@@ -113,5 +96,3 @@ echo
 define_category_names "$1"
 echo
 print_command_list "$1"
-echo
-print_config_list