Merge branch 'tt/help'
authorJunio C Hamano <gitster@pobox.com>
Sun, 2 Dec 2007 04:05:49 +0000 (20:05 -0800)
committerJunio C Hamano <gitster@pobox.com>
Sun, 2 Dec 2007 04:05:49 +0000 (20:05 -0800)
* tt/help:
Remove hint to use "git help -a"
Make the list of common commands more exclusive

generate-cmdlist.sh
help.c
index 17df47b95067449f03039b8ecd7715701302fa68..1ba27ecf9cd42d6ce86218fe4fdcb8761cf65dd7 100755 (executable)
@@ -11,12 +11,9 @@ static struct cmdname_help common_cmds[] = {"
 
 sort <<\EOF |
 add
-apply
-archive
 bisect
 branch
 checkout
-cherry-pick
 clone
 commit
 diff
@@ -26,15 +23,12 @@ init
 log
 merge
 mv
-prune
 pull
 push
 rebase
 reset
-revert
 rm
 show
-show-branch
 status
 tag
 EOF
diff --git a/help.c b/help.c
index d340b6a1b6c4ecb8132e81fe306883aa18feb090..37a9c25db72d2a69a8076517870b7b874bd336a9 100644 (file)
--- a/help.c
+++ b/help.c
@@ -237,7 +237,6 @@ void list_common_cmds_help(void)
                mput_char(' ', longest - strlen(common_cmds[i].name));
                puts(common_cmds[i].help);
        }
-       puts("(use 'git help -a' to get a list of all installed git commands)");
 }
 
 static void show_man_page(const char *git_cmd)