[PATCH] Add some missing commands to the git.txt commands list
From: Petr Baudis <hidden>
Date: 2016-06-15 22:42:09
Subsystem:
documentation, the rest · Maintainers:
Jonathan Corbet, Linus Torvalds
Dear diary, on Tue, Oct 25, 2005 at 06:57:06PM CEST, I got a letter where Junio C Hamano [off-list ref] told me that...
Also we need a link to this in either Ancillary (in which subsection I am not sure of, though) or Synching repository section of git.txt. I think we already lack links to a couple of recent commands there, so somebody needs to do another sweep of git.txt to make sure everything is listed.
for i in `l Documentation/*.txt | cut -d / -f 2 | cut -d . -f 1`; do grep -q $i Documentation/git.txt || echo $i; done But really, the more you have autogenerated, the better and more consistent things are. In Cogito, I have all the documentation (usage strings, synopsis, description, ...) at a _single_ place and everything else (from command lists to various views of the docs) is autogenerated, and it's a great help at making things complete and consistent. Also, since it's inside of the code, people actually tend to remember to update (and write in the first place) the documentation. BTW, as of now, it appears that only the commands git-findtags and git-fmt-merge-msg are undocumented. --- [PATCH] Add some missing commands to the git.txt commands list Signed-off-by: Petr Baudis <redacted> --- Documentation/git.txt | 18 ++++++++++++++++++ 1 files changed, 18 insertions(+), 0 deletions(-)
diff --git a/Documentation/git.txt b/Documentation/git.txt
index 769054b..054f091 100644
--- a/Documentation/git.txt
+++ b/Documentation/git.txt@@ -209,6 +209,9 @@ gitlink:git-add[1]:: Add paths to the index file. Previously this command was known as git-add-script. +gitlink:git-am[1]:: + Apply patches from a mailbox, but cooler. + gitlink:git-applymbox[1]:: Apply patches from a mailbox.
@@ -262,6 +265,9 @@ gitlink:git-ls-remote[1]:: gitlink:git-merge[1]:: Grand unified merge driver. +gitlink:git-mv[1]:: + Move or rename a file, a directory, or a symlink. + gitlink:git-octopus[1]:: Merge more than two commits. Previously this command was known as git-octopus-script.
@@ -347,6 +353,9 @@ gitlink:git-relink[1]:: Hardlink common objects in local repositories. Previously this command was known as git-relink-script. +gitlink:git-svnimport[1]:: + Import a SVN repository into git. + gitlink:git-sh-setup[1]:: Common git shell script setup code. Previously this command was known as git-sh-setup-script.
@@ -355,9 +364,15 @@ gitlink:git-tag[1]:: An example script to create a tag object signed with GPG Previously this command was known as git-tag-script. +gitlink:git-update-ref[1]:: + Update the object name stored in a ref safely. + Interrogators: +gitlink:git-check-ref-format[1]:: + Make sure ref name is well formed. + gitlink:git-cherry[1]:: Find commits not merged upstream.
@@ -395,6 +410,9 @@ gitlink:git-send-email[1]:: Send patch e-mails out of "format-patch --mbox" output. Previously this command was known as git-send-email-script. +gitlink:git-symbolic-refs[1]:: + Read and modify symbolic refs. + gitlink:git-stripspace[1]:: Filter out empty lines.
--
Petr "Pasky" Baudis
Stuff: http://pasky.or.cz/
VI has two modes: the one in which it beeps and the one in which
it doesn't.