aboutsummaryrefslogtreecommitdiffstats
path: root/help.c
AgeCommit message (Expand)AuthorFilesLines
2023-12-09help: handle NULL value for alias.* configJeff King1-1/+4
2023-07-17Merge branch 'cw/compat-util-header-cleanup'Junio C Hamano1-1/+0
2023-07-05git-compat-util: move alloc macros to git-compat-util.hCalvin Wan1-1/+0
2023-06-28config: pass kvi to die_bad_number()Glen Choo1-2/+2
2023-06-28config: add ctx arg to config_fn_tGlen Choo1-2/+5
2023-03-17Merge branch 'jk/unused-post-2.39-part2'Junio C Hamano1-1/+2
2023-02-24help: mark unused parameter in git_unknown_cmd_config()Jeff King1-1/+2
2023-02-23object.h: stop depending on cache.h; make cache.h depend on object.hElijah Newren1-0/+1
2023-02-23alloc.h: move ALLOC_GROW() functions from cache.hElijah Newren1-1/+2
2022-12-13help.c: fix autocorrect in work tree for bare repositorySimon Gerber1-1/+1
2022-10-28Merge branch 'ab/doc-synopsis-and-cmd-usage'Junio C Hamano1-1/+1
2022-10-13doc txt & -h consistency: add missing options and labelsÆvar Arnfjörð Bjarmason1-1/+1
2022-09-16help: fix doubled words in explanation for developer interfacesFangyi Zhou1-1/+1
2022-09-01git-compat-util.h: use "UNUSED", not "UNUSED(var)"Ævar Arnfjörð Bjarmason1-2/+2
2022-08-19refs: mark unused each_ref_fn parametersJeff King1-2/+3
2022-08-04git docs: add a category for file formats, protocols and interfacesÆvar Arnfjörð Bjarmason1-0/+12
2022-08-04git docs: add a category for user-facing file, repo and command UXÆvar Arnfjörð Bjarmason1-0/+12
2022-08-04help.c: remove common category behavior from drop_prefix() behaviorÆvar Arnfjörð Bjarmason1-4/+5
2022-08-04help.c: refactor drop_prefix() to use a "switch" statement"Ævar Arnfjörð Bjarmason1-2/+8
2022-04-04Merge branch 'jh/builtin-fsmonitor-part2'Junio C Hamano1-0/+4
2022-03-25help: include fsmonitor--daemon feature flag in version infoJeff Hostetler1-0/+4
2022-02-23help: don't print "\n" before single-section outputÆvar Arnfjörð Bjarmason1-1/+4
2022-02-23help: add --no-[external-commands|aliases] for use with --allÆvar Arnfjörð Bjarmason1-3/+5
2022-02-23help.c: split up list_all_cmds_help() functionÆvar Arnfjörð Bjarmason1-7/+20
2022-02-23help.c: use puts() instead of printf{,_ln}() for consistencyÆvar Arnfjörð Bjarmason1-3/+4
2021-12-16help: make auto-correction prompt more consistentKashav Madan1-1/+1
2021-09-23help: move column config discovery to help.c libraryÆvar Arnfjörð Bjarmason1-2/+14
2021-08-14help.c: help.autocorrect=prompt waits for user actionAzeem Bande-Ali1-1/+20
2020-11-25help.c: help.autocorrect=never means "do not compute suggestions"Drew DeVault1-3/+22
2020-10-07help: do not expect built-in commands to be hardlinkedJohannes Schindelin1-0/+2
2020-08-27Merge branch 'jk/leakfix'Junio C Hamano1-1/+1
2020-08-14config: fix leaks from git_config_get_string_const()Jeff King1-1/+1
2020-08-04help: drop usage of 'common' and 'useful' for guidesPhilippe Blain1-2/+2
2020-05-12help: add shell-path to --build-optionsEmily Shaffer1-0/+1
2020-04-16bugreport: gather git version and build infoEmily Shaffer1-18/+28
2020-04-16help: move list_config_help to builtin/helpEmily Shaffer1-85/+0
2019-11-10Fix spelling errors in messages shown to usersElijah Newren1-1/+1
2019-09-30Merge branch 'rs/help-unknown-ref-does-not-return'Junio C Hamano1-1/+2
2019-08-30help: make help_unknown_ref() NORETURNRené Scharfe1-1/+2
2019-06-13Merge branch 'jk/help-unknown-ref-fix'Junio C Hamano1-4/+4
2019-05-15help_unknown_ref(): check for refname ambiguityJeff King1-3/+3
2019-05-15help_unknown_ref(): duplicate collected refnamesJeff King1-1/+1
2019-03-21completion: fix multiple command removalsJeff King1-2/+2
2019-03-21git: read local config in --list-cmdsJeff King1-7/+0
2019-01-31help: align the longest command in the command listingNguyễn Thái Ngọc Duy1-1/+2
2018-12-12help -a: handle aliases with long names gracefullyJohannes Schindelin1-1/+9
2018-10-03help -a: improve and make --verbose defaultNguyễn Thái Ngọc Duy1-4/+46
2018-08-20Merge branch 'hn/highlight-sideband-keywords'Junio C Hamano1-0/+1
2018-08-17Merge branch 'mk/http-backend-content-length'Junio C Hamano1-0/+1
2018-08-08sideband: highlight keywords in remote sideband outputHan-Wen Nienhuys1-0/+1
2018-07-27http-backend: respect CONTENT_LENGTH for receive-packMax Kirillov1-0/+1
2018-06-01Merge branch 'nd/command-list'Junio C Hamano1-27/+217
2018-05-29completion: drop the hard coded list of config varsNguyễn Thái Ngọc Duy1-3/+31
2018-05-29help: add --config to list all available configNguyễn Thái Ngọc Duy1-0/+56
2018-05-29Merge branch 'nd/command-list' into nd/complete-config-varsJunio C Hamano1-27/+217
2018-05-21completion: allow to customize the completable command listNguyễn Thái Ngọc Duy1-0/+33
2018-05-21help: use command-list.txt for the source of guidesNguyễn Thái Ngọc Duy1-4/+17
2018-05-21help: add "-a --verbose" to list all commands with synopsisNguyễn Thái Ngọc Duy1-0/+16
2018-05-21git: support --list-cmds=list-<category>Nguyễn Thái Ngọc Duy1-0/+23
2018-05-21completion: implement and use --list-cmds=main,othersNguyễn Thái Ngọc Duy1-0/+32
2018-05-10help: use command-list.h for common command listNguyễn Thái Ngọc Duy1-36/+109
2018-04-11exec_cmd: rename to use dash in file nameStefan Beller1-1/+1
2017-12-14version --build-options: report commit, too, if possibleJohannes Schindelin1-0/+5
2017-12-14version --build-options: also report host CPUEric Sunshine1-0/+1
2017-06-26Merge branch 'mb/reword-autocomplete-message'Junio C Hamano1-6/+12
2017-06-24Merge branch 'ab/free-and-null'Junio C Hamano1-2/+1
2017-06-24Merge branch 'bw/config-h'Junio C Hamano1-0/+1
2017-06-24Merge branch 'js/alias-early-config'Junio C Hamano1-1/+1
2017-06-21auto-correct: tweak phrasingMarc Branchaud1-6/+12
2017-06-19Merge branch 'jk/consistent-h'Junio C Hamano1-5/+20
2017-06-16*.[ch] refactoring: make use of the FREE_AND_NULL() macroÆvar Arnfjörð Bjarmason1-2/+1
2017-06-15config: don't include config.h by defaultBrandon Williams1-0/+1
2017-06-15help: use early config when autocorrecting aliasesJohannes Schindelin1-1/+1
2017-06-05version: convert to parse-optionsJeff King1-5/+20
2017-05-30Merge branch 'bw/forking-and-threading'Junio C Hamano1-42/+1
2017-05-12usability: don't ask questions if no reply is requiredJean-Noel Avila1-2/+2
2017-04-25run-command: expose is_executable functionBrandon Williams1-42/+1
2017-01-30help: improve is_executable() on WindowsHeiko Voigt1-3/+18
2016-09-29use QSORTRené Scharfe1-10/+5
2016-07-15t0006: skip "far in the future" test when unsigned long is not long enoughJeff King1-0/+6
2016-02-22convert trivial cases to FLEX_ARRAY macrosJeff King1-4/+2
2015-06-24Merge branch 'js/sleep-without-select'Junio C Hamano1-1/+1
2015-06-05help.c: wrap wait-only poll() invocation in sleep_millisec()Johannes Sixt1-1/+1
2015-06-05Merge branch 'bc/object-id'Junio C Hamano1-1/+1
2015-05-25append_similar_ref(): rewrite to take an object_id argumentMichael Haggerty1-4/+2
2015-05-25each_ref_fn: change to take an object_id parameterMichael Haggerty1-1/+3
2015-05-21help: respect new common command groupingSébastien Guimmara1-1/+23
2014-09-26Merge branch 'sb/help-unknown-command-sort-fix'Junio C Hamano1-1/+1
2014-09-18help: fix the size passed to qsortStefan Beller1-1/+1
2014-07-16Merge branch 'jk/strip-suffix'Junio C Hamano1-3/+2
2014-06-30use strip_suffix instead of ends_with in simple casesJeff King1-3/+2
2014-06-30replace has_extension with ends_withJeff King1-1/+1
2014-06-20use skip_prefix to avoid repeated calculationsJeff King1-6/+5
2014-06-20use skip_prefix to avoid repeating stringsJeff King1-3/+4
2014-06-20use skip_prefix to avoid magic numbersJeff King1-2/+4
2014-03-14Merge branch 'rt/help-pretty-prints-cmd-names'Junio C Hamano1-4/+3
2014-02-28help.c: rename function "pretty_print_string_list"Ralf Thielow1-4/+3
2013-12-05replace {pre,suf}fixcmp() with {starts,ends}_with()Christian Couder1-4/+4
2013-07-18cygwin: Remove the Win32 l/stat() implementationRamsay Jones1-4/+1
2013-06-11Merge branch 'rj/mingw-cygwin'Junio C Hamano1-1/+1
2013-05-08help: add help_unknown_ref()Vikrant Varma1-0/+50
2013-05-08mingw: rename WIN32 cpp macro to GIT_WINDOWS_NATIVEJonathan Nieder1-1/+1
2013-04-16help.c: add a compatibility comment to cmd_version()David Aguilar1-0/+4
2013-01-18help: include <common-cmds.h> only in one fileJunio C Hamano1-0/+17
2012-07-25help.c::exclude_cmds(): plug a leakJunio C Hamano1-3/+4
2012-07-25help.c::uniq: plug a leakJeff King1-2/+5
2012-06-03move git_version_string into version.cJeff King1-0/+1
2012-05-29Reduce cost of deletion in levenstein distance (4 -> 3)Matthieu Moy1-1/+1
2012-05-03Merge branch 'nd/columns'Junio C Hamano1-35/+23
2012-04-27help: reuse print_columns() for help -aNguyễn Thái Ngọc Duy1-36/+23
2012-04-25help: replace underlining "help -a" headers using hyphens with a blank lineNguyễn Thái Ngọc Duy1-13/+3
2012-04-24i18n: help: mark strings for translationNguyễn Thái Ngọc Duy1-12/+20
2012-02-13pager: find out the terminal width before spawning the pagerZbigniew Jędrzejewski-Szmek1-22/+0
2011-07-22Merge branch 'ms/help-unknown'Junio C Hamano1-0/+12
2011-07-08help_unknown_cmd: do not propose an "unknown" cmdMichael Schubert1-0/+12
2011-06-16help.c: Fix detection of custom merge strategy on cygwinRamsay Jones1-1/+4
2010-12-05help: always suggest common-cmds if prefix of cmdErik Faye-Lund1-8/+39
2010-02-15Remove hyphen from "git-command" in two error messagesPete Harlan1-1/+1
2009-12-15help.autocorrect: do not run a command if the command given is junkJohannes Sixt1-2/+5
2009-09-18Test for WIN32 instead of __MINGW32_Frank Li1-1/+1
2009-09-18Avoid declaration after statementFrank Li1-1/+2
2009-08-12Merge branch 'maint-1.6.3' into maintJunio C Hamano1-2/+2
2009-08-12Change mentions of "git programs" to "git commands"Ori Avtalion1-1/+1
2009-08-12help.c: give correct structure's size to memset()Johan Herland1-1/+1
2009-07-22janitor: add DIV_ROUND_UP and use it.Pierre Habouzit1-1/+1
2008-09-11git wrapper: also use aliases to correct mistyped commandsPieter de Bie1-8/+24
2008-09-07Merge branch 'ar/autospell'Junio C Hamano1-1/+88
2008-08-31Add help.autocorrect to enable/disable autocorrectingAlex Riesen1-1/+18
2008-08-31git wrapper: DWIM mistyped commandsJohannes Schindelin1-1/+71
2008-08-28list_commands: only call git_exec_path if it is neededAlex Riesen1-1/+1
2008-08-28Allow git help work without PATH setAlex Riesen1-23/+20
2008-08-28Remove calculation of the longest command name from where it is not usedAlex Riesen1-19/+15
2008-08-02Builtin git-help.Miklos Vajna1-464/+0
2008-07-30builtin-help: always load_command_list() in cmd_help()Miklos Vajna1-1/+1
2008-07-29builtin-help: make some internal functions available to other builtinsMiklos Vajna1-38/+39
2008-07-27Avoid chdir() in list_commands_in_dir()Johannes Schindelin1-2/+10
2008-07-16Merge branch 'sb/dashless'Junio C Hamano1-1/+1
2008-07-13help (Windows): Display HTML in default browser using Windows' shell APISteffen Prohaska1-1/+13
2008-07-13help.c: Add support for htmldir relative to git_exec_path()Steffen Prohaska1-3/+5
2008-07-13Make usage strings dash-lessStephan Beyer1-1/+1
2008-07-02Merge branch 'j6t/mingw'Junio C Hamano1-5/+28
2008-06-27help: check early if we have a command, if not try a documentation topicChristian Couder1-8/+14
2008-06-26Windows: Make 'git help -a' work.Johannes Sixt1-5/+28
2008-06-06Print info about "git help COMMAND" on git's main usage pagesTeemu Likonen1-0/+2
2008-05-14Provide git_config with a callback-data parameterJohannes Schindelin1-3/+3
2008-04-26help: use "man.<tool>.cmd" as custom man viewer commandChristian Couder1-18/+40
2008-04-26help: use man viewer path from "man.<tool>.path" config varChristian Couder1-19/+124
2008-04-01help: Add a missing OPT_END().Christian Couder1-0/+1
2008-03-12help: warn if specified 'man.viewer' is unsupported, instead of erroring outChristian Couder1-1/+1
2008-03-11help: implement multi-valued "man.viewer" config optionChristian Couder1-78/+113
2008-03-11help: add "man.viewer" config var to use "woman" or "konqueror"Christian Couder1-1/+80
2008-02-24help: respect aliasesJeff King1-1/+32
2008-02-24help: use parseoptJeff King1-64/+59
2008-02-17help.c: use 'git_config_string' to get 'help_default_format'.Christian Couder1-6/+2
2008-02-16Merge branch 'cc/browser'Junio C Hamano1-1/+17
2008-02-11help.c: guard config parser from value=NULLJunio C Hamano1-0/+2
2008-02-05Rename 'git-help--browse.sh' to 'git-web--browse.sh'.Christian Couder1-1/+1
2008-02-05help--browse: add '--config' option to check a config option for a browser.Christian Couder1-1/+1
2008-02-05help: make 'git-help--browse' usable outside 'git-help'.Christian Couder1-1/+17
2007-12-16rename git-browse--help to git-help--browseJeff King1-1/+1
2007-12-14Rename git-browse-help helper to git-browse--helpJunio C Hamano1-1/+1
2007-12-14git-help: add "help.format" config variable.Christian Couder1-2/+62
2007-12-10git-help -i: show info documentation from matching version of gitJunio C Hamano1-0/+1
2007-12-10git-help -i: invoke info with document and node nameJunio C Hamano1-1/+1
2007-12-10Merge branch 'master' into cc/helpJunio C Hamano1-0/+22
2007-12-09git-help: add -w|--web option to display html man page in a browser.Christian Couder1-15/+19
2007-12-08Let git-help prefer man-pages installed with this version of gitSergei Organov1-0/+22
2007-12-03git-help: add -i|--info option to display info page.Christian Couder1-8/+27
2007-12-01Merge branch 'tt/help'Junio C Hamano1-1/+0
2007-11-14Move #include <sys/select.h> and <sys/ioctl.h> to git-compat-util.h.Johannes Sixt1-1/+0
2007-11-14Remove hint to use "git help -a"Theodore Ts'o1-1/+0
2007-11-08Style: place opening brace of a function definition at column 1Junio C Hamano1-1/+2
2007-10-29include $PATH in generating list of commands for "help -a"Scott R Parish1-37/+120
2007-10-29list_commands(): simplify code by using chdir()Scott R Parish1-15/+3
2007-10-29remove unused/unneeded "pattern" argument of list_commandsScott R Parish1-6/+8
2007-10-29"git" returns 1; "git help" and "git help -a" return 0Scott R Parish1-3/+3
2007-10-26help: remove extra blank line after "See 'git --help'" messageJunio C Hamano1-1/+1
2007-10-22On error, do not list all commands, but point to --help optionJari Aalto1-2/+1
2007-06-07War on whitespaceJunio C Hamano1-2/+0
2007-03-27use xrealloc in help.cJames Bowes1-11/+1
2007-03-25use xmalloc in git.c and help.cJames Bowes1-1/+1
2007-02-20Mechanical conversion to use prefixcmp()Junio C Hamano1-2/+2
2007-02-11Avoid ugly linewrap in git helpRen,bi(B Scharfe1-2/+2
2006-12-20simplify inclusion of system header files.Junio C Hamano1-2/+1
2006-08-31Use xmalloc instead of mallocJonas Fonseca1-1/+1
2006-08-15remove unnecessary initializationsDavid Rientjes1-1/+1
2006-08-12Merge branch 'mk/rename'Junio C Hamano1-0/+234
2006-08-10Merge branch 'master' into mk/renameJunio C Hamano1-1/+1
2006-08-04builtins: Makefile clean-upJunio C Hamano1-0/+234