This patch introduces a new attribute "dashed" to be used in the master command list. Server type commands are marked as "dashed", and "cmd-list.perl" is taught to use this attributes when writing out links in the command lists by category: git-cvsserver git-daemon git-receive-pack git-shell git-upload-archive git-upload-pack Signed-off-by: Michael J Gruber <git@xxxxxxxxxxxxxxxxxxxx> --- Documentation/cmd-list.perl | 7 ++++++- command-list.txt | 12 ++++++------ 2 files changed, 12 insertions(+), 7 deletions(-) diff --git a/Documentation/cmd-list.perl b/Documentation/cmd-list.perl index 04f9977..dd24b29 100755 --- a/Documentation/cmd-list.perl +++ b/Documentation/cmd-list.perl @@ -27,7 +27,12 @@ sub format_one { die "No description found in $name.txt"; } if (my ($verify_name, $text) = ($description =~ /^($name) - (.*)/)) { - print $out "linkgit:$name\[1\]::\n\t"; + if ($attr =~ / dashed /) { + print $out "linkgitasis:$name\[1\]::\n\t"; + } else { + $name =~ /^git-(.*)$/; + print $out "link-git:$1\[1\]::\n\t"; + } if ($attr =~ / deprecated /) { print $out "(deprecated) "; } diff --git a/command-list.txt b/command-list.txt index 3583a33..02bc251 100644 --- a/command-list.txt +++ b/command-list.txt @@ -26,8 +26,8 @@ git-config ancillarymanipulators git-count-objects ancillaryinterrogators git-cvsexportcommit foreignscminterface git-cvsimport foreignscminterface -git-cvsserver foreignscminterface -git-daemon synchingrepositories +git-cvsserver foreignscminterface dashed +git-daemon synchingrepositories dashed git-describe mainporcelain git-diff mainporcelain common git-diff-files plumbinginterrogators @@ -86,7 +86,7 @@ git-push mainporcelain common git-quiltimport foreignscminterface git-read-tree plumbingmanipulators git-rebase mainporcelain common -git-receive-pack synchelpers +git-receive-pack synchelpers dashed git-reflog ancillarymanipulators git-relink ancillarymanipulators git-remote ancillarymanipulators @@ -101,7 +101,7 @@ git-rev-parse ancillaryinterrogators git-rm mainporcelain common git-send-email foreignscminterface git-send-pack synchingrepositories -git-shell synchelpers +git-shell synchelpers dashed git-shortlog mainporcelain git-show mainporcelain common git-show-branch ancillaryinterrogators @@ -121,8 +121,8 @@ git-unpack-objects plumbingmanipulators git-update-index plumbingmanipulators git-update-ref plumbingmanipulators git-update-server-info synchingrepositories -git-upload-archive synchelpers -git-upload-pack synchelpers +git-upload-archive synchelpers dashed +git-upload-pack synchelpers dashed git-var plumbinginterrogators git-verify-pack plumbinginterrogators git-verify-tag ancillaryinterrogators -- 1.6.0.1.308.gede4c -- To unsubscribe from this list: send the line "unsubscribe git" in the body of a message to majordomo@xxxxxxxxxxxxxxx More majordomo info at http://vger.kernel.org/majordomo-info.html