aboutsummaryrefslogtreecommitdiffstats
path: root/git.c
AgeCommit message (Expand)AuthorFilesLines
2024-03-18Merge branch 'jh/trace2-missing-def-param-fix'Junio C Hamano1-6/+0
2024-03-07Merge branch 'jc/no-lazy-fetch'Junio C Hamano1-0/+6
2024-03-07trace2: emit 'def_param' set with 'cmd_name' eventJeff Hostetler1-6/+0
2024-02-27git: extend --no-lazy-fetch to work across subprocessesJunio C Hamano1-0/+3
2024-02-13git: --no-lazy-fetch optionJunio C Hamano1-0/+3
2023-11-26replay: introduce new builtinElijah Newren1-0/+1
2023-06-29Merge branch 'en/header-split-cache-h-part-3'Junio C Hamano1-0/+1
2023-06-22Merge branch 'ds/disable-replace-refs'Junio C Hamano1-1/+1
2023-06-21read-cache*.h: move declarations for read-cache.c functions from cache.hElijah Newren1-0/+1
2023-06-12repository: create disable_replace_refs()Derrick Stolee1-1/+1
2023-05-06attr: teach "--attr-source=<tree>" global option to "git"John Cai1-0/+16
2023-04-25Merge branch 'en/header-split-cache-h'Junio C Hamano1-0/+3
2023-04-11Merge branch 'ws/sparse-check-rules'Junio C Hamano1-1/+1
2023-04-11pager.h: move declarations for pager.c functions from cache.hElijah Newren1-0/+1
2023-04-11treewide: be explicit about dependence on trace.h & trace2.hElijah Newren1-0/+2
2023-03-27builtin/sparse-checkout: remove NEED_WORK_TREE flagWilliam Sprent1-1/+1
2023-03-21setup.h: move declarations for setup.c functions from cache.hElijah Newren1-0/+1
2023-03-21environment.h: move declarations for environment.c functions from cache.hElijah Newren1-0/+1
2023-03-21treewide: be explicit about dependence on gettext.hElijah Newren1-0/+1
2023-03-17Merge branch 'en/header-cleanup'Junio C Hamano1-0/+1
2023-02-23replace-object.h: move read_replace_refs declaration from cache.h to hereElijah Newren1-0/+1
2023-02-21trace.c, git.c: remove unnecessary parameter to trace_repo_setup()idriss fekir1-1/+1
2023-01-23Merge branch 'ab/test-env-helper'Junio C Hamano1-1/+0
2023-01-14env-helper: move this built-in to "test-tool env-helper"Ævar Arnfjörð Bjarmason1-1/+0
2022-12-26read-tree: add "--super-prefix" option, eliminate globalÆvar Arnfjörð Bjarmason1-32/+5
2022-12-26submodule--helper: convert "{update,clone}" to their own "--super-prefix"Ævar Arnfjörð Bjarmason1-1/+1
2022-12-26submodule--helper: don't use global --super-prefix in "absorbgitdirs"Ævar Arnfjörð Bjarmason1-1/+1
2022-12-14Merge branch 'dd/git-bisect-builtin'Junio C Hamano1-1/+1
2022-11-23Merge branch 'ab/submodule-helper-prep-only'Junio C Hamano1-1/+1
2022-11-11Turn `git bisect` into a full built-inJohannes Schindelin1-1/+1
2022-11-08submodule--helper: use OPT_SUBCOMMAND() APIÆvar Arnfjörð Bjarmason1-1/+1
2022-10-30use child_process members "args" and "env" directlyRené Scharfe1-6/+9
2022-10-21Merge branch 'ds/cmd-main-reorder'Junio C Hamano1-6/+8
2022-10-08git.c: improve code readability in cmd_main()Daniel Sonbolian1-6/+8
2022-09-01Merge branch 'sg/parse-options-subcommand'Junio C Hamano1-7/+7
2022-08-19builtin/worktree.c: let parse-options parse subcommandsSZEDER Gábor1-1/+1
2022-08-19builtin/gc.c: let parse-options parse 'git maintenance's subcommandsSZEDER Gábor1-1/+1
2022-08-19git.c: update NO_PARSEOPT markingsSZEDER Gábor1-5/+5
2022-08-12builtin/diagnose.c: create 'git diagnose' builtinVictoria Dye1-0/+1
2022-06-22merge-tree: add option parsing and initial shell for real merge functionElijah Newren1-1/+1
2022-06-10Merge branch 'jh/builtin-fsmonitor-part3'Junio C Hamano1-1/+1
2022-05-26fsmonitor--daemon: allow --super-prefix argumentJeff Hostetler1-1/+1
2022-05-20Merge branch 'gf/shorthand-version-and-help'Junio C Hamano1-4/+7
2022-03-31cli: add -v and -h shorthandsGarrit Franke1-4/+7
2022-03-25fsmonitor--daemon: add a built-in fsmonitor daemonJeff Hostetler1-0/+1
2022-02-25Merge branch 'ab/grep-patterntype'Junio C Hamano1-0/+1
2022-02-15built-ins: trust the "prefix" from run_builtin()Ævar Arnfjörð Bjarmason1-0/+1
2022-02-09Merge branch 'ab/config-based-hooks-2'Junio C Hamano1-0/+1
2022-01-07hook: add 'run' subcommandEmily Shaffer1-0/+1
2022-01-05i18n: factorize "no directory given for --foo"Jean-Noël Avila1-3/+3
2021-12-21Merge branch 'ld/sparse-diff-blame'Junio C Hamano1-18/+21
2021-12-06git: ensure correct git directory setup with -hLessley Dennington1-18/+21
2021-10-18Merge branch 'js/retire-preserve-merges'Junio C Hamano1-1/+0
2021-09-07rebase: drop the internal `rebase--interactive` commandJohannes Schindelin1-1/+0
2021-09-01midx: disallow running outside of a repositoryTaylor Blau1-1/+1
2021-05-07Merge branch 'ps/config-env-option-with-separate-value'Junio C Hamano1-0/+8
2021-04-30Merge branch 'mt/parallel-checkout-part-2'Junio C Hamano1-0/+2
2021-04-30git: support separate arg for `--config-env`'s valuePatrick Steinhardt1-0/+8
2021-04-19parallel-checkout: make it truly parallelMatheus Tavares1-0/+2
2021-04-13Merge branch 'tb/precompose-prefix-simplify'Junio C Hamano1-1/+1
2021-04-05macOS: precompose startup_info->prefixTorsten Bögershausen1-1/+1
2021-02-12Merge branch 'tb/precompose-prefix-too'Junio C Hamano1-1/+1
2021-02-03MacOS: precompose_argv_prefix()Torsten Bögershausen1-1/+1
2021-01-25Merge branch 'ps/config-env-pairs'Junio C Hamano1-0/+3
2021-01-12config: add new way to pass config via `--config-env`Patrick Steinhardt1-1/+3
2021-01-06git: add `--super-prefix` to usage stringPatrick Steinhardt1-0/+1
2020-11-30maintenance: fix SEGFAULT when no repositoryRafael Silva1-1/+1
2020-11-18Merge branch 'ds/maintenance-part-3'Junio C Hamano1-0/+1
2020-10-08Merge branch 'js/no-builtins-on-disk-option'Junio C Hamano1-0/+19
2020-10-07help: do not expect built-in commands to be hardlinkedJohannes Schindelin1-0/+19
2020-09-25Merge branch 'ds/maintenance-part-1'Junio C Hamano1-0/+1
2020-09-25for-each-repo: run subcommands on configured reposDerrick Stolee1-0/+1
2020-09-17maintenance: create basic maintenance runnerDerrick Stolee1-0/+1
2020-08-13make git-fast-import a builtinJeff King1-0/+1
2020-08-13make git-bugreport a builtinJeff King1-0/+1
2020-08-13make credential helpers builtinsJeff King1-0/+3
2020-07-30strvec: rename struct fieldsJeff King1-5/+5
2020-07-28strvec: convert more callers away from argv_array nameJeff King1-11/+11
2020-07-15Merge branch 'ta/wait-on-aliased-commands-upon-signal' into masterJunio C Hamano1-1/+3
2020-07-07Wait for child on signal death for aliases to externalsTrygve Aaberge1-0/+2
2020-07-07Wait for child on signal death for aliases to builtinsTrygve Aaberge1-1/+1
2020-07-06Merge branch 'bc/sha-256-part-2'Junio C Hamano1-1/+1
2020-05-27builtin/show-index: provide options to determine hash algobrian m. carlson1-1/+1
2020-05-13Merge branch 'tb/shallow-cleanup'Junio C Hamano1-0/+1
2020-04-30shallow: extract a header file for shallow-related functionsTaylor Blau1-0/+1
2020-04-22Merge branch 'js/trace2-env-vars'Junio C Hamano1-0/+3
2020-03-23trace2: teach Git to log environment variablesJosh Steadmon1-0/+3
2020-03-05stash: remove the stash.useBuiltin settingThomas Gummerer1-6/+1
2019-11-22sparse-checkout: create builtin with 'list' subcommandDerrick Stolee1-0/+1
2019-09-20git: use COPY_ARRAY and MOVE_ARRAY in handle_alias()René Scharfe1-3/+2
2019-08-02Merge branch 'js/visual-studio'Junio C Hamano1-3/+0
2019-07-29git: avoid calling aliased builtins via their dashed formJohannes Schindelin1-3/+0
2019-07-29Merge branch 'js/rebase-cleanup'Junio C Hamano1-6/+1
2019-07-25Merge branch 'ab/test-env'Junio C Hamano1-0/+1
2019-07-25git: mark cmd_rebase as requiring a worktreeJohannes Schindelin1-6/+1
2019-07-09Merge branch 'nd/switch-and-restore'Junio C Hamano1-0/+2
2019-06-21env--helper: new undocumented builtin wrapping git_env_*()Ævar Arnfjörð Bjarmason1-0/+1
2019-06-17Merge branch 'po/git-help-on-git-itself'Junio C Hamano1-1/+2
2019-05-16git.c: show usage for accessing the git(1) help pagePhilip Oakley1-1/+2
2019-05-09Merge branch 'js/misc-doc-fixes'Junio C Hamano1-1/+0
2019-05-07checkout: split part of it to new command 'restore'Nguyễn Thái Ngọc Duy1-0/+1
2019-04-25Merge branch 'js/difftool-no-index'Junio C Hamano1-1/+1
2019-04-22Merge branch 'ps/stash-in-c'Junio C Hamano1-0/+6
2019-04-19Turn `git serve` into a test helperJohannes Schindelin1-1/+0
2019-04-02checkout: split part of it to new command 'switch'Nguyễn Thái Ngọc Duy1-0/+1
2019-03-21git: read local config in --list-cmdsJeff King1-0/+7
2019-03-18difftool: allow running outside Git worktrees with --no-indexJohannes Schindelin1-1/+1
2019-03-07stash: optionally use the scripted version againJohannes Schindelin1-1/+6
2019-03-07stash: convert `stash--helper.c` into `stash.c`Paul-Sebastian Ungureanu1-1/+1
2019-03-07stash: convert apply to builtinJoel Teichroeb1-0/+1
2019-02-22trace2: create new combined trace facilityJeff Hostetler1-0/+65
2019-02-06Merge branch 'nd/the-index-final'Junio C Hamano1-2/+2
2019-01-24cache.h: flip NO_THE_INDEX_COMPATIBILITY_MACROS switchNguyễn Thái Ngọc Duy1-2/+2
2019-01-18Merge branch 'nd/style-opening-brace'Junio C Hamano1-1/+2
2019-01-04Merge branch 'nd/i18n'Junio C Hamano1-16/+16
2018-12-10style: the opening '{' of a function is in a separate lineNguyễn Thái Ngọc Duy1-1/+2
2018-11-12alias.c: mark split_cmdline_strerror() strings for translationNguyễn Thái Ngọc Duy1-1/+1
2018-11-12git.c: mark more strings for translationNguyễn Thái Ngọc Duy1-15/+15
2018-11-02Merge branch 'ag/rebase-i-in-c'Junio C Hamano1-1/+1
2018-11-02Merge branch 'pk/rebase-in-c'Junio C Hamano1-0/+6
2018-10-26Merge branch 'rv/alias-help'Junio C Hamano1-0/+3
2018-10-16Merge branch 'ts/alias-of-alias'Junio C Hamano1-3/+25
2018-10-11git.c: handle_alias: prepend alias info when first argument is -hRasmus Villemoes1-0/+3
2018-10-09rebase -i: move rebase--helper modes to rebase--interactiveAlban Gruin1-1/+0
2018-10-09rebase -i: remove git-rebase--interactive.shAlban Gruin1-1/+1
2018-10-09rebase -i: implement the main part of interactive rebase as a builtinAlban Gruin1-0/+1
2018-09-17alias: show the call history when an alias is loopingTim Schumacher1-2/+15
2018-09-17alias: add support for aliases of an aliasTim Schumacher1-3/+12
2018-08-20Sync 'ds/multi-pack-index' to v2.19.0-rc0Junio C Hamano1-0/+1
2018-08-20Merge branch 'js/range-diff'Junio C Hamano1-0/+1
2018-08-15Merge branch 'jk/core-use-replace-refs'Junio C Hamano1-1/+1
2018-08-13Introduce `range-diff` to compare iterations of a topic branchJohannes Schindelin1-0/+1
2018-08-06rebase: start implementing it as a builtinPratik Karki1-0/+6
2018-08-02Merge branch 'jm/cache-entry-from-mem-pool'Junio C Hamano1-0/+3
2018-07-20multi-pack-index: add builtinDerrick Stolee1-0/+1
2018-07-18check_replace_refs: rename to read_replace_refsJeff King1-1/+1
2018-07-18Merge branch 'sb/object-store-grafts'Junio C Hamano1-1/+1
2018-07-03block alloc: add validations around cache_entry lifecyleJameson Miller1-0/+3
2018-06-25Merge branch 'jk/show-index'Junio C Hamano1-0/+1
2018-06-01Merge branch 'nd/command-list'Junio C Hamano1-9/+76
2018-05-29make show-index a builtinJeff King1-0/+1
2018-05-23Merge branch 'js/no-pager-shorthand'Junio C Hamano1-2/+2
2018-05-21completion: allow to customize the completable command listNguyễn Thái Ngọc Duy1-0/+2
2018-05-21completion: add and use --list-cmds=aliasNguyễn Thái Ngọc Duy1-0/+2
2018-05-21completion: add and use --list-cmds=nohelpersNguyễn Thái Ngọc Duy1-0/+14
2018-05-21Move declaration for alias.c to alias.hNguyễn Thái Ngọc Duy1-0/+1
2018-05-21git: support --list-cmds=list-<category>Nguyễn Thái Ngọc Duy1-0/+7
2018-05-21completion: implement and use --list-cmds=main,othersNguyễn Thái Ngọc Duy1-0/+4
2018-05-21git --list-cmds: collect command list in a string_listNguyễn Thái Ngọc Duy1-5/+17
2018-05-21git.c: convert --list-* to --list-cmds=*Nguyễn Thái Ngọc Duy1-6/+31
2018-05-18shallow: add repository argument to set_alternate_shallow_fileStefan Beller1-1/+1
2018-05-08Merge branch 'ds/commit-graph'Junio C Hamano1-0/+1
2018-05-08Merge branch 'dj/runtime-prefix'Junio C Hamano1-1/+1
2018-05-08Merge branch 'bw/protocol-v2'Junio C Hamano1-0/+2
2018-05-04git: add -P as a short option for --no-pagerJohannes Sixt1-2/+2
2018-04-11exec_cmd: rename to use dash in file nameStefan Beller1-1/+1
2018-04-11exec_cmd: RUNTIME_PREFIX on some POSIX systemsDan Jacques1-1/+1
2018-04-10Merge branch 'nd/parseopt-completion-more'Junio C Hamano1-57/+65
2018-04-02commit-graph: create git-commit-graph builtinDerrick Stolee1-0/+1
2018-03-25git.c: add hidden option --list-parseopt-builtinsNguyễn Thái Ngọc Duy1-41/+49
2018-03-25git.c: move cmd_struct declaration upNguyễn Thái Ngọc Duy1-17/+17
2018-03-21Merge branch 'ma/config-page-only-in-list-mode'Junio C Hamano1-1/+1
2018-03-15serve: introduce git-serveBrandon Williams1-0/+1
2018-03-14upload-pack: convert to a builtinBrandon Williams1-0/+1
2018-02-21config: respect `pager.config` in list/get-mode onlyMartin Ågren1-1/+1
2018-02-13Mark messages for translationsAlexander Shopov1-19/+19
2017-11-28Merge branch 'ma/branch-list-paginate'Junio C Hamano1-1/+1
2017-11-20branch: respect `pager.branch` in list-mode onlyMartin Ågren1-1/+1
2017-10-03Merge branch 'jk/no-optional-locks'Junio C Hamano1-0/+4
2017-09-27git: add --no-optional-locks optionJeff King1-0/+4
2017-08-22Merge branch 'bw/grep-recurse-submodules'Junio C Hamano1-1/+1
2017-08-03git.c: ignore pager.* when launching builtin as dashed externalMartin Ågren1-1/+1
2017-08-03tag: respect `pager.tag` in list-mode onlyMartin Ågren1-1/+1
2017-08-03git.c: provide setup_auto_pager()Martin Ågren1-0/+10
2017-08-03git.c: let builtins opt for handling `pager.foo` themselvesMartin Ågren1-1/+3
2017-08-02grep: recurse in-process using 'struct repository'Brandon Williams1-1/+1
2017-06-23ls-files: use repository objectBrandon Williams1-1/+1
2017-06-23Merge branches 'bw/ls-files-sans-the-index' and 'bw/config-h' into bw/repo-ob...Junio C Hamano1-51/+5
2017-06-15config: don't include config.h by defaultBrandon Williams1-0/+1
2017-06-15alias: use the early config machinery to expand aliasesJohannes Schindelin1-51/+4
2017-06-05git: add hidden --list-builtins optionJeff King1-0/+12
2017-03-30Merge branch 'bw/recurse-submodules-relative-fix'Junio C Hamano1-2/+0
2017-03-17setup: allow for prefix to be passed to git commandsBrandon Williams1-2/+0
2017-02-09rebase--helper: add a builtin helper for interactive rebasesJohannes Schindelin1-0/+1
2017-02-03Merge branch 'sb/unpack-trees-super-prefix'Junio C Hamano1-1/+1
2017-01-31Merge branch 'js/difftool-builtin'Junio C Hamano1-0/+1
2017-01-25unpack-trees: support super-prefix optionStefan Beller1-1/+1
2017-01-19difftool: retire the scripted versionJohannes Schindelin1-6/+1
2017-01-18Merge branch 'jk/execv-dashed-external'Junio C Hamano1-21/+15
2017-01-18Merge branch 'bw/grep-recurse-submodules'Junio C Hamano1-1/+1
2017-01-17difftool: add a skeleton for the upcoming builtinJohannes Schindelin1-0/+6
2017-01-10Merge branch 'sb/submodule-embed-gitdir'Junio C Hamano1-1/+1
2017-01-09execv_dashed_external: wait for child on signal deathJeff King1-0/+1
2017-01-09execv_dashed_external: stop exiting with negative codeJeff King1-3/+7
2017-01-09execv_dashed_external: use child_process structJeff King1-18/+7
2016-12-22grep: optionally recurse into submodulesBrandon Williams1-1/+1
2016-12-09submodule helper: support super prefixStefan Beller1-1/+1
2016-11-29Merge branch 'jk/common-main'Junio C Hamano1-0/+5
2016-11-29common-main: stop munging argv[0] pathJeff King1-0/+5
2016-11-22archive: read local configurationJunio C Hamano1-1/+1