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[] = {"


sort <<\EOF | sort <<\EOF |
add add
apply
archive
bisect bisect
branch branch
checkout checkout
cherry-pick
clone clone
commit commit
diff diff
@ -26,15 +23,12 @@ init
log log
merge merge
mv mv
prune
pull pull
push push
rebase rebase
reset reset
revert
rm rm
show show
show-branch
status status
tag tag
EOF EOF

1
help.c

@ -237,7 +237,6 @@ void list_common_cmds_help(void)
mput_char(' ', longest - strlen(common_cmds[i].name)); mput_char(' ', longest - strlen(common_cmds[i].name));
puts(common_cmds[i].help); 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) static void show_man_page(const char *git_cmd)

Loading…
Cancel
Save