From: Michael J Gruber <git@drmicha.warpmail.net>
To: git@vger.kernel.org
Cc: Michael J Gruber <git@drmicha.warpmail.net>
Subject: [PATCH/RFC 6/6] adjust the command lists (by category) to the new doc link macros
Date: Fri, 12 Sep 2008 12:55:26 +0200 [thread overview]
Message-ID: <1221216926-20435-8-git-send-email-git@drmicha.warpmail.net> (raw)
In-Reply-To: <1221216926-20435-7-git-send-email-git@drmicha.warpmail.net>
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@drmicha.warpmail.net>
---
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
next prev parent reply other threads:[~2008-09-12 10:58 UTC|newest]
Thread overview: 8+ messages / expand[flat|nested] mbox.gz Atom feed top
2008-09-12 10:55 [PATCH/RFC 0/6] Documentation: use dashless links Michael J Gruber
2008-09-12 10:55 ` [PATCH/RFC 1/6] modified asciidoc macros for dashless git doc Michael J Gruber
2008-09-12 10:55 ` [PATCH/RFC 2/6] convert doc links for server type programmes from linkgit to gitlink Michael J Gruber
2008-09-12 10:55 ` [PATCH/RFC 2/6] convert doc links for server type programmes Michael J Gruber
2008-09-12 10:55 ` [PATCH/RFC 3/6] convert doc links for non-dashed git commands Michael J Gruber
2008-09-12 10:55 ` [PATCH/RFC 4/6] convert doc links for other pages Michael J Gruber
[not found] ` <1221216926-20435-7-git-send-email-git@drmicha.warpmail.net>
2008-09-12 10:55 ` Michael J Gruber [this message]
2008-09-12 11:32 ` [PATCH/RFC 2/6] convert doc links for server type programmes from linkgit to gitlink Michael J Gruber
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
List information: http://vger.kernel.org/majordomo-info.html
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=1221216926-20435-8-git-send-email-git@drmicha.warpmail.net \
--to=git@drmicha.warpmail.net \
--cc=git@vger.kernel.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
Code repositories for project(s) associated with this public inbox
https://80x24.org/mirrors/git.git
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).