aboutsummaryrefslogtreecommitdiffstats
path: root/builtin
AgeCommit message (Expand)AuthorFilesLines
2025-04-29Merge branch 'jh/gc-launchctl-schedule-fix'Junio C Hamano1-2/+2
2025-04-29Merge branch 'az/tighten-string-array-constness'Junio C Hamano6-11/+11
2025-04-29Merge branch 'ua/call-repo-config-with-possibly-null-repository'Junio C Hamano2-4/+2
2025-04-24Merge branch 'rj/build-tweaks'Junio C Hamano1-2/+7
2025-04-24Merge branch 'ps/parse-options-integers'Junio C Hamano25-151/+392
2025-04-24Merge branch 'ps/object-file-cleanup'Junio C Hamano48-87/+110
2025-04-23Merge branch 'ja/doc-reset-mv-rm-markup-updates'Junio C Hamano1-1/+2
2025-04-23maintenance: fix launchctl calendar intervalsJosh Heinrichs1-2/+2
2025-04-21global: mark usage strings and string tables constAhelenia Ziemiańska6-11/+11
2025-04-20builtin/difftool: remove unnecessary if statementUsman Akinyemi1-2/+1
2025-04-20builtin/add: remove unnecessary if statementUsman Akinyemi1-2/+1
2025-04-17Merge branch 'ua/update-update-server-info'Junio C Hamano1-2/+2
2025-04-17Merge branch 'en/merge-recursive-debug'Junio C Hamano5-34/+10
2025-04-17Merge branch 'kn/blame-porcelain-unblamable'Junio C Hamano1-0/+15
2025-04-17Merge branch 'jk/fetch-follow-remote-head-fix'Junio C Hamano1-25/+11
2025-04-17parse-options: detect mismatches in integer signednessPatrick Steinhardt3-5/+5
2025-04-17parse-options: introduce precision handling for `OPTION_INTEGER`Patrick Steinhardt4-0/+5
2025-04-17parse-options: rename `OPT_MAGNITUDE()` to `OPT_UNSIGNED()`Patrick Steinhardt4-11/+11
2025-04-17global: use designated initializers for optionsPatrick Steinhardt20-132/+368
2025-04-16builtin/gc.c: correct RAM calculation when using sysinfoRamsay Jones1-2/+7
2025-04-16Merge branch 'ps/cat-file-filter-batch'Junio C Hamano3-71/+191
2025-04-16Merge branch 'kn/non-transactional-batch-updates'Junio C Hamano2-6/+62
2025-04-16Merge branch 'ps/maintenance-reflog-expire'Junio C Hamano2-148/+77
2025-04-16Merge branch 'jt/rev-list-z'Junio C Hamano1-24/+69
2025-04-16Merge branch 'ab/rm-sign-compare'Junio C Hamano1-12/+9
2025-04-16Merge branch 'jt/ref-transaction-abort-fix'Junio C Hamano1-1/+8
2025-04-15Merge branch 'js/comma-semicolon-confusion'Junio C Hamano1-1/+1
2025-04-15Merge branch 'jt/clone-guess-remote-head-fix'Junio C Hamano3-4/+7
2025-04-15Merge branch 'ds/maintenance-loose-objects-batchsize'Junio C Hamano1-0/+20
2025-04-15Merge branch 'kn/reflog-drop'Junio C Hamano1-2/+66
2025-04-15Merge branch 'ps/object-wo-the-repository'Junio C Hamano21-65/+73
2025-04-15object-store: merge "object-store-ll.h" and "object-store.h"Patrick Steinhardt38-38/+38
2025-04-15object-file: split up concerns of `HASH_*` flagsPatrick Steinhardt3-8/+19
2025-04-15object-file: split out functions relating to object store subsystemPatrick Steinhardt8-0/+8
2025-04-15object-file: move `safe_create_leading_directories()` into "path.c"Patrick Steinhardt14-40/+43
2025-04-15object-file: move `mkdir_in_gitdir()` into "path.c"Patrick Steinhardt1-1/+2
2025-04-14doc: convert git-mv to new documentation formatJean-Noël Avila1-1/+1
2025-04-14doc: move synopsis git-mv commands in the synopsis sectionJean-Noël Avila1-1/+2
2025-04-09fetch: make set_head() call easier to readJeff King1-4/+5
2025-04-08builtin/update-server-info: remove unnecessary if statementUsman Akinyemi1-2/+2
2025-04-08Merge branch 'ps/object-wo-the-repository' into ps/object-file-cleanupJunio C Hamano21-65/+73
2025-04-08builtin/{merge,rebase,revert}: remove GIT_TEST_MERGE_ALGORITHMElijah Newren3-20/+1
2025-04-08merge, sequencer: switch recursive merges over to ortElijah Newren1-7/+2
2025-04-08builtin/merge-recursive: switch to using merge_ort_generic()Elijah Newren1-2/+2
2025-04-08checkout: replace merge_trees() with merge_ort_nonrecursive()Elijah Newren1-5/+5
2025-04-08Merge branch 'tb/incremental-midx-part-2'Junio C Hamano1-1/+2
2025-04-08Merge branch 'tb/refspec-fetch-cleanup'Junio C Hamano2-2/+3
2025-04-08update-ref: add --batch-updates flag for stdin modeKarthik Nayak1-5/+61
2025-04-08refs: introduce enum-based transaction error typesKarthik Nayak1-1/+1
2025-04-08builtin/maintenance: introduce "reflog-expire" taskPatrick Steinhardt1-0/+50
2025-04-08builtin/gc: split out function to expire reflog entriesPatrick Steinhardt1-11/+11
2025-04-08builtin/reflog: make functions regarding `reflog_expire_options` publicPatrick Steinhardt1-111/+4
2025-04-08builtin/reflog: stop storing per-reflog expiry dates globallyPatrick Steinhardt1-18/+12
2025-04-08builtin/reflog: stop storing default reflog expiry dates globallyPatrick Steinhardt1-15/+7
2025-04-08reflog: rename `cmd_reflog_expire_cb` to `reflog_expire_options`Patrick Steinhardt1-19/+19
2025-04-07blame: print unblamable and ignored commits in porcelain modeKarthik Nayak1-0/+15
2025-04-07builtin/cat-file: use bitmaps to efficiently filter by object typePatrick Steinhardt1-5/+37
2025-04-07builtin/cat-file: deduplicate logic to iterate over all objectsPatrick Steinhardt1-37/+48
2025-04-07pack-bitmap: allow passing payloads to `show_reachable_fn()`Patrick Steinhardt2-2/+4
2025-04-07builtin/cat-file: support "object:type=" objects filterPatrick Steinhardt1-1/+11
2025-04-07builtin/cat-file: support "blob:limit=" objects filterPatrick Steinhardt1-1/+14
2025-04-07builtin/cat-file: support "blob:none" objects filterPatrick Steinhardt1-1/+14
2025-04-07builtin/cat-file: wire up an option to filter objectsPatrick Steinhardt1-4/+32
2025-04-07builtin/cat-file: introduce function to report object statusPatrick Steinhardt1-5/+13
2025-04-07builtin/cat-file: rename variable that tracks usagePatrick Steinhardt1-22/+25
2025-04-07Merge branch 'jh/hash-init-fixes'Junio C Hamano2-0/+2
2025-04-07Merge branch 'tb/combine-cruft-below-size'Junio C Hamano1-41/+21
2025-04-07Merge branch 'jc/name-rev-stdin'Junio C Hamano1-1/+9
2025-03-29rm: fix sign comparison warningsArnav Bhate1-12/+9
2025-03-29Merge branch 'en/random-cleanups'Junio C Hamano1-1/+0
2025-03-29Merge branch 'tb/multi-cruft-pack-refresh-fix'Junio C Hamano1-17/+101
2025-03-29Merge branch 'jk/fetch-ref-prefix-cleanup'Junio C Hamano1-27/+19
2025-03-29Merge branch 'en/merge-ort-prepare-to-remove-recursive'Junio C Hamano1-2/+3
2025-03-29Merge branch 'ps/refname-avail-check-optim'Junio C Hamano2-5/+12
2025-03-29Merge branch 'cc/signed-fast-export-import'Junio C Hamano2-50/+161
2025-03-28rebase: avoid using the comma operator unnecessarilyJohannes Schindelin1-1/+1
2025-03-26Merge branch 'ua/some-builtins-wo-the-repository'Junio C Hamano7-61/+54
2025-03-26Merge branch 'sj/ref-consistency-checks-more'Junio C Hamano2-2/+33
2025-03-26Merge branch 'jt/diff-pairs'Junio C Hamano1-0/+207
2025-03-25builtin/clone: suppress unexpected default branch adviceJustin Tobler1-2/+5
2025-03-25remote: allow `guess_remote_head()` to suppress adviceJustin Tobler2-2/+2
2025-03-23maintenance: add loose-objects.batchSize configDerrick Stolee1-0/+10
2025-03-23maintenance: force progress/no-quiet to childrenDerrick Stolee1-0/+10
2025-03-21midx: implement writing incremental MIDX bitmapsTaylor Blau1-1/+2
2025-03-21builtin/fetch: avoid aborting closed reference transactionJustin Tobler1-1/+8
2025-03-21repack: begin combining cruft packs with `--combine-cruft-below-size`Taylor Blau1-13/+25
2025-03-21repack: avoid combining cruft packs with `--max-cruft-size`Taylor Blau1-41/+9
2025-03-21rev-list: support NUL-delimited --missing optionJustin Tobler1-9/+22
2025-03-21rev-list: support NUL-delimited --boundary optionJustin Tobler1-2/+7
2025-03-21rev-list: support delimiting objects with NUL bytesJustin Tobler1-5/+30
2025-03-21rev-list: refactor early option parsingJustin Tobler1-10/+7
2025-03-21rev-list: inline `show_object_with_name()` in `show_object()`Justin Tobler1-4/+9
2025-03-21refspec: replace `refspec_item_init()` with fetch/push variantsTaylor Blau2-2/+2
2025-03-21refspec: remove refspec_item_init_or_die()Taylor Blau1-1/+2
2025-03-21refspec: treat 'fetch' as a Boolean valueTaylor Blau1-1/+1
2025-03-18index-pack, unpack-objects: restore missing ->init_fnJensen Huang2-0/+2
2025-03-18fetch: don't ask for remote HEAD if followRemoteHEAD is "never"Jeff King1-4/+2
2025-03-18fetch: only respect followRemoteHEAD with configured refspecsJeff King1-19/+6
2025-03-18am: switch from merge_recursive_generic() to merge_ort_generic()Elijah Newren1-2/+3
2025-03-17Merge branch 'tb/multi-cruft-pack-refresh-fix' into tb/combine-cruft-below-sizeJunio C Hamano1-17/+101
2025-03-17reflog: implement subcommand to drop reflogsKarthik Nayak1-1/+65
2025-03-17reflog: improve error for when reflog is not foundKarthik Nayak1-1/+1
2025-03-17stash: remove merge-recursive.h includeElijah Newren1-1/+0
2025-03-13builtin/pack-objects.c: freshen objects from existing cruft packsTaylor Blau1-17/+101
2025-03-12refs/iterator: separate lifecycle from iterationPatrick Steinhardt1-0/+2
2025-03-12builtin/update-ref: skip ambiguity checks when parsing object IDsPatrick Steinhardt1-5/+10
2025-03-12name-rev: remove "--stdin" supportJunio C Hamano1-1/+9
2025-03-10fast-export, fast-import: add support for signed-commitsLuke Shumaker2-20/+126
2025-03-10fast-export: do not modify memory from get_commit_bufferLuke Shumaker1-28/+33
2025-03-10fast-export: rename --signed-tags='warn' to 'warn-verbatim'Luke Shumaker1-4/+4
2025-03-10fast-export: fix missing whitespace after switchChristian Couder1-4/+4
2025-03-10hash: stop depending on `the_repository` in `null_oid()`Patrick Steinhardt14-38/+40
2025-03-10delta-islands: stop depending on `the_repository`Patrick Steinhardt1-1/+1
2025-03-10object-file-convert: stop depending on `the_repository`Patrick Steinhardt1-1/+1
2025-03-10environment: move access to "core.bigFileThreshold" into repo settingsPatrick Steinhardt4-7/+12
2025-03-10pack-write: stop depending on `the_repository` and `the_hash_algo`Patrick Steinhardt3-5/+5
2025-03-10object: stop depending on `the_repository`Patrick Steinhardt7-10/+10
2025-03-10csum-file: stop depending on `the_repository`Patrick Steinhardt3-3/+4
2025-03-10fetch: use ref prefix list to skip ls-refsJeff King1-20/+7
2025-03-10fetch: avoid ls-refs only to ask for HEAD symref updateJeff King1-3/+2
2025-03-10fetch: stop protecting additions to ref-prefix listJeff King1-6/+4
2025-03-10fetch: ask server to advertise HEAD for config-less fetchJeff King1-0/+8
2025-03-10Merge branch 'tb/fetch-follow-tags-fix'Junio C Hamano1-1/+3
2025-03-07builtin/checkout-index: stop using `the_repository`Usman Akinyemi1-22/+21
2025-03-07builtin/for-each-ref: stop using `the_repository`Usman Akinyemi1-3/+2
2025-03-07builtin/ls-files: stop using `the_repository`Usman Akinyemi1-16/+16
2025-03-07builtin/pack-refs: stop using `the_repository`Usman Akinyemi1-5/+3
2025-03-07builtin/send-pack: stop using `the_repository`Usman Akinyemi1-4/+3
2025-03-07builtin/verify-commit: stop using `the_repository`Usman Akinyemi1-7/+6
2025-03-07builtin/verify-tag: stop using `the_repository`Usman Akinyemi1-4/+3
2025-03-07fetch: fix following tags when fetching specific OIDTaylor Blau1-1/+3
2025-03-05Merge branch 'kn/ref-migrate-skip-reflog'Junio C Hamano1-1/+1
2025-03-05Merge branch 'ps/path-sans-the-repository'Junio C Hamano19-58/+106
2025-03-03refs: show --no-reflog in the help textJunio C Hamano1-1/+1
2025-03-03builtin/diff-pairs: allow explicit diff queue flushJustin Tobler1-0/+14
2025-03-03builtin: introduce diff-pairs commandJustin Tobler1-0/+193
2025-02-28path: adjust last remaining users of `the_repository`Patrick Steinhardt1-1/+1
2025-02-28environment: move access to "core.sharedRepository" into repo settingsPatrick Steinhardt2-7/+7
2025-02-28path: drop `git_path()` in favor of `repo_git_path()`Patrick Steinhardt7-18/+43
2025-02-28rerere: let `rerere_path()` write paths into a caller-provided bufferPatrick Steinhardt1-4/+7
2025-02-27Merge branch 'kn/ref-migrate-skip-reflog'Junio C Hamano1-0/+3
2025-02-27Merge branch 'ua/os-version-capability'Junio C Hamano1-11/+2
2025-02-27builtin/fsck: add `git refs verify` child processshejialuo1-1/+32
2025-02-27builtin/refs: get worktrees without reading head informationshejialuo1-1/+1
2025-02-26Merge branch 'jk/check-mailmap-wo-name-fix'Junio C Hamano1-1/+1
2025-02-25Merge branch 'pw/merge-tree-stdin-deadlock-fix'Junio C Hamano1-6/+5
2025-02-21mailmap: fix check-mailmap with full mailmap lineJacob Keller1-1/+1
2025-02-21Merge branch 'ua/update-server-info-sans-the-repository'Junio C Hamano1-4/+4
2025-02-21builtin/refs: add '--no-reflog' flag to drop reflogsKarthik Nayak1-0/+3
2025-02-18Merge branch 'da/difftool-sans-the-repository'Junio C Hamano1-39/+56
2025-02-18Merge branch 'jt/rev-list-missing-print-info'Junio C Hamano1-17/+89
2025-02-18Merge branch 'ds/backfill'Junio C Hamano1-0/+147
2025-02-18merge-tree: only use basic merge configPhillip Wood1-1/+1
2025-02-18merge-tree: remove redundant codePhillip Wood1-5/+2
2025-02-18merge-tree --stdin: flush stdout to avoid deadlockPhillip Wood1-0/+2
2025-02-18version: extend get_uname_info() to hide system detailsUsman Akinyemi1-1/+1
2025-02-18version: refactor get_uname_info()Usman Akinyemi1-11/+2
2025-02-14Merge branch 'bf/fetch-set-head-fix'Junio C Hamano1-13/+12
2025-02-14Merge branch 'tc/clone-single-revision'Junio C Hamano2-157/+200
2025-02-12Merge branch 'ms/refspec-cleanup'Junio C Hamano2-2/+2
2025-02-12Merge branch 'zh/gc-expire-to'Junio C Hamano1-2/+7
2025-02-12Merge branch 'ps/repack-keep-unreachable-in-unpacked-repo'Junio C Hamano1-1/+4
2025-02-12Merge branch 'ds/name-hash-tweaks'Junio C Hamano2-6/+66
2025-02-10builtin/update-server-info: remove the_repository global variableUsman Akinyemi1-4/+4
2025-02-10Merge branch 'ps/hash-cleanup'Junio C Hamano5-41/+39
2025-02-07path: drop `git_common_path()` in favor of `repo_common_path()`Patrick Steinhardt1-4/+12
2025-02-07worktree: return allocated string from `get_worktree_git_dir()`Patrick Steinhardt3-5/+17
2025-02-07path: drop `git_path_buf()` in favor of `repo_git_path_replace()`Patrick Steinhardt1-1/+1
2025-02-07path: drop `git_pathdup()` in favor of `repo_git_path()`Patrick Steinhardt10-16/+16
2025-02-07path: refactor `repo_submodule_path()` family of functionsPatrick Steinhardt1-1/+1
2025-02-07submodule: refactor `submodule_to_gitdir()` to accept a repoPatrick Steinhardt1-1/+1
2025-02-06difftool: eliminate use of USE_THE_REPOSITORY_VARIABLEDavid Aguilar1-2/+0
2025-02-06difftool: eliminate use of the_repositoryDavid Aguilar1-25/+29
2025-02-06difftool: eliminate use of global variablesDavid Aguilar1-18/+33
2025-02-06builtin/clone: teach git-clone(1) the --revision= optionToon Claes1-11/+46
2025-02-06parse-options: introduce die_for_incompatible_opt2()Toon Claes1-3/+4
2025-02-06clone: introduce struct clone_opts in builtin/clone.cToon Claes1-15/+29
2025-02-06clone: add tags refspec earlier to fetch refspecToon Claes1-16/+11
2025-02-06clone: refactor wanted_peer_refs()Toon Claes1-24/+15
2025-02-06clone: make it possible to specify --tagsToon Claes1-7/+7
2025-02-06clone: cut down on global variables in clone.cToon Claes1-94/+101
2025-02-05rev-list: extend print-info to print missing object typeJustin Tobler1-3/+8
2025-02-05rev-list: add print-info action to print missing object pathJustin Tobler1-17/+84
2025-02-04builtin/repack: fix `--keep-unreachable` when there are no packsPatrick Steinhardt1-1/+4
2025-02-04remote: rename query_refspecs functionsMeet Soni1-1/+1
2025-02-04remote: rename function omit_name_by_refspecMeet Soni1-1/+1
2025-02-03backfill: assume --sparse when sparse-checkout is enabledDerrick Stolee1-0/+7
2025-02-03backfill: add --sparse optionDerrick Stolee1-1/+14
2025-02-03backfill: add --min-batch-size=<n> optionDerrick Stolee1-1/+3
2025-02-03backfill: basic functionality and testsDerrick Stolee1-3/+99
2025-02-03backfill: add builtin boilerplateDerrick Stolee1-0/+28
2025-02-03Merge branch 'kn/pack-write-with-reduced-globals'Junio C Hamano4-16/+20
2025-02-03Merge branch 'ps/3.0-remote-deprecation'Junio C Hamano1-0/+2
2025-02-03Merge branch 'tb/unsafe-hash-cleanup'Junio C Hamano1-1/+1
2025-01-31global: adapt callers to use generic hash context helpersPatrick Steinhardt5-32/+30
2025-01-31hash: stop typedeffing the hash contextPatrick Steinhardt5-9/+9
2025-01-31Merge branch 'tb/unsafe-hash-cleanup' into ps/hash-cleanupJunio C Hamano1-1/+1
2025-01-31Merge branch 'jc/show-index-h-update'Junio C Hamano1-1/+1
2025-01-29Merge branch 'rs/ref-fitler-used-atoms-value-fix'Junio C Hamano4-5/+1
2025-01-29Merge branch 'ja/doc-commit-markup-updates'Junio C Hamano1-1/+1