Browse Source

Merge branch 'tt/help'

* tt/help:
  Remove hint to use "git help -a"
  Make the list of common commands more exclusive
maint
Junio C Hamano 18 years ago
parent
commit
8256c6e010
  1. 6
      generate-cmdlist.sh
  2. 1
      help.c

6
generate-cmdlist.sh

@ -11,12 +11,9 @@ static struct cmdname_help common_cmds[] = {" @@ -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 @@ -26,15 +23,12 @@ init
log
merge
mv
prune
pull
push
rebase
reset
revert
rm
show
show-branch
status
tag
EOF

1
help.c

@ -237,7 +237,6 @@ void list_common_cmds_help(void) @@ -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)

Loading…
Cancel
Save