Silence cpio's "N blocks" output when cloning locally
[gitweb.git] / generate-cmdlist.sh
index 1ba27ecf9cd42d6ce86218fe4fdcb8761cf65dd7..a2913c2a2cd1ec158157ada3e2deb666892b734b 100755 (executable)
@@ -9,29 +9,8 @@ struct cmdname_help
 
 static struct cmdname_help common_cmds[] = {"
 
-sort <<\EOF |
-add
-bisect
-branch
-checkout
-clone
-commit
-diff
-fetch
-grep
-init
-log
-merge
-mv
-pull
-push
-rebase
-reset
-rm
-show
-status
-tag
-EOF
+sed -n -e 's/^git-\([^         ]*\)[   ].* common.*/\1/p' command-list.txt |
+sort |
 while read cmd
 do
      sed -n '