12 Commits (b80da424a13107c239ed40573fae3d692d19b6cd)

Author SHA1 Message Date
Brandon Casey f285a2d7ed Replace calls to strbuf_init(&foo, 0) with STRBUF_INIT initializer 16 years ago
Romain Francoise 5059a42780 builtin-help: fallback to GIT_MAN_VIEWER before man 17 years ago
Alex Riesen c7371e992b Make main_cmds and other_cmds local to builtin-help.c 17 years ago
Alex Riesen e321180ed3 Remove calculation of the longest command name from where it is not used 17 years ago
Miklos Vajna 3d78d1f18f Builtin git-help. 17 years ago
Miklos Vajna 6e4a86d2ed builtin-help: always load_command_list() in cmd_help() 17 years ago
Miklos Vajna 940208a771 builtin-help: make some internal functions available to other builtins 17 years ago
Johannes Schindelin f5d600e2dd Avoid chdir() in list_commands_in_dir() 17 years ago
Steffen Prohaska 4804aabcdb help (Windows): Display HTML in default browser using Windows' shell API 17 years ago
Steffen Prohaska 868da8d5e3 help.c: Add support for htmldir relative to git_exec_path() 17 years ago
Stephan Beyer 1b1dd23f2d Make usage strings dash-less 17 years ago
Christian Couder 2dce956e39 help: check early if we have a command, if not try a documentation topic 17 years ago
Johannes Sixt cc3b7a9732 Windows: Make 'git help -a' work. 17 years ago
Teemu Likonen b7d9681974 Print info about "git help COMMAND" on git's main usage pages 17 years ago
Johannes Schindelin ef90d6d420 Provide git_config with a callback-data parameter 17 years ago
Christian Couder a26a06afed help: use "man.<tool>.cmd" as custom man viewer command 17 years ago
Christian Couder 7b15f872f2 help: use man viewer path from "man.<tool>.path" config var 17 years ago
Christian Couder 4637e47acc help: Add a missing OPT_END(). 17 years ago
Christian Couder 5fb0b3e007 help: warn if specified 'man.viewer' is unsupported, instead of erroring out 17 years ago
Christian Couder 69099d6bed help: implement multi-valued "man.viewer" config option 17 years ago
Christian Couder 649499845c help: add "man.viewer" config var to use "woman" or "konqueror" 17 years ago
Jeff King 2156435ff2 help: respect aliases 17 years ago
Jeff King 41eb33bd0c help: use parseopt 17 years ago
Christian Couder 9886ea417b help.c: use 'git_config_string' to get 'help_default_format'. 17 years ago
Junio C Hamano b51b2bb4c3 help.c: guard config parser from value=NULL 17 years ago
Christian Couder 5884f1fe96 Rename 'git-help--browse.sh' to 'git-web--browse.sh'. 17 years ago
Christian Couder caa87713bc help--browse: add '--config' option to check a config option for a browser. 17 years ago
Christian Couder 482cce8205 help: make 'git-help--browse' usable outside 'git-help'. 17 years ago
Jeff King d7e522cffb rename git-browse--help to git-help--browse 17 years ago
Junio C Hamano 5b4617c749 Rename git-browse-help helper to git-browse--help 17 years ago
Christian Couder 70087cdbd3 git-help: add "help.format" config variable. 17 years ago
Junio C Hamano a149a1a44a git-help -i: show info documentation from matching version of git 17 years ago
Junio C Hamano 78d39f98f3 git-help -i: invoke info with document and node name 17 years ago
Christian Couder 5d6491c7c7 git-help: add -w|--web option to display html man page in a browser. 17 years ago
Sergei Organov 8e566f24b3 Let git-help prefer man-pages installed with this version of git 17 years ago
Christian Couder df55c9cbc3 git-help: add -i|--info option to display info page. 17 years ago
Johannes Sixt 80bbe72b76 Move #include <sys/select.h> and <sys/ioctl.h> to git-compat-util.h. 17 years ago
Theodore Ts'o 15f80a539b Remove hint to use "git help -a" 17 years ago
Junio C Hamano f3fa183802 Style: place opening brace of a function definition at column 1 17 years ago
Scott R Parish 1eb056905a include $PATH in generating list of commands for "help -a" 17 years ago
Scott R Parish 0966003c8e list_commands(): simplify code by using chdir() 17 years ago
Scott R Parish edb6ddc53e remove unused/unneeded "pattern" argument of list_commands 17 years ago
Scott R Parish 3d7e2d857a "git" returns 1; "git help" and "git help -a" return 0 17 years ago
Junio C Hamano a238917ba4 help: remove extra blank line after "See 'git --help'" message 17 years ago
Jari Aalto b5d21a4b68 On error, do not list all commands, but point to --help option 17 years ago
Junio C Hamano a6080a0a44 War on whitespace 18 years ago
James Bowes c6e0caa384 use xrealloc in help.c 18 years ago
James Bowes 3301521a25 use xmalloc in git.c and help.c 18 years ago
Junio C Hamano cc44c7655f Mechanical conversion to use prefixcmp() 18 years ago
Ren,bi(B Scharfe 4f75b115d7 Avoid ugly linewrap in git help 18 years ago