aboutsummaryrefslogtreecommitdiffstats
path: root/builtin
AgeCommit message (Expand)AuthorFilesLines
69 min.Merge branch 'ps/no-writable-strings' into seenseenJunio C Hamano17-64/+83
105 min.Merge branch 'cc/upload-pack-missing-action' into seenJunio C Hamano2-58/+22
113 min.Merge branch 'kn/update-ref-symref' into jchJunio C Hamano4-15/+229
2 hoursMerge branch 'jk/leakfixes' into jchJunio C Hamano1-24/+26
2 hoursMerge branch 'ew/khash-to-khashl' into jchJunio C Hamano2-3/+3
2 hoursMerge branch 'pw/rebase-i-error-message' into jchJunio C Hamano1-6/+11
2 hoursMerge branch 'tb/pseudo-merge-reachability-bitmap' into jchJunio C Hamano1-1/+2
2 hoursMerge branch 'gt/t-hash-unit-test' into jchJunio C Hamano1-3/+1
2 hoursMerge branch 'ps/ref-storage-migration' into jchJunio C Hamano3-2/+77
2 hoursMerge branch 'rs/difftool-env-simplify' into jchJunio C Hamano1-8/+4
2 hoursMerge branch 'ps/leakfixes' into jchJunio C Hamano12-431/+563
3 hoursMerge branch 'jc/fix-2.45.1-and-friends-for-maint'Junio C Hamano1-11/+2
3 hoursMerge branch 'jc/undecided-is-not-necessarily-sha1-fix'Junio C Hamano3-0/+26
3 hoursMerge branch 'ps/refs-without-the-repository-updates'Junio C Hamano14-25/+38
3 hoursMerge branch 'ps/undecided-is-not-necessarily-sha1'Junio C Hamano5-7/+19
3 hoursupdate-ref: add support for 'symref-update' commandKarthik Nayak1-0/+92
3 hoursupdate-ref: add support for 'symref-create' commandKarthik Nayak2-2/+32
3 hoursupdate-ref: add support for 'symref-delete' commandKarthik Nayak3-3/+35
3 hoursupdate-ref: add support for 'symref-verify' commandKarthik Nayak1-10/+70
7 hoursrebase -i: pass struct replay_opts to parse_insn_line()Phillip Wood1-6/+11
8 hoursmv: replace src_dir with a strvecJeff King1-6/+4
8 hoursmv: factor out empty src_dir removalJeff King1-19/+23
8 hoursmv: move src_dir cleanup to end of cmd_mv()Jeff King1-1/+1
8 hoursMerge branch 'ps/leakfixes' into jk/leakfixesJunio C Hamano12-431/+563
31 hoursbuiltin/merge: always store allocated strings in `pull_twohead`Patrick Steinhardt1-7/+11
31 hoursbuiltin/rebase: adapt code to not assign string constants to non-constPatrick Steinhardt1-7/+9
31 hourssend-pack: always allocate receive statusPatrick Steinhardt1-0/+2
31 hoursrefspec: remove global tag refspec structurePatrick Steinhardt2-5/+14
31 hoursglobal: assign non-const strings as requiredPatrick Steinhardt1-1/+2
31 hoursglobal: improve const correctness when assigning string constantsPatrick Steinhardt12-44/+45
32 hoursMerge branch 'ps/leakfixes' into ps/no-writable-stringsJunio C Hamano12-431/+563
32 hoursstrbuf: introduce strbuf_addstrings() to repeatedly add a stringGhanshyam Thakkar1-3/+1
2 daysbuiltin/refs: new command to migrate ref storage formatsPatrick Steinhardt1-0/+75
2 daysrefs: convert ref storage format to an enumPatrick Steinhardt2-2/+2
2 daysMerge branch 'jc/format-patch-more-aggressive-range-diff'Junio C Hamano1-1/+1
2 daysMerge branch 'tb/pack-bitmap-write-cleanups'Junio C Hamano1-6/+13
2 daysMerge branch 'ps/builtin-config-cleanup'Junio C Hamano1-429/+541
2 daysMerge branch 'ps/pseudo-ref-terminology'Junio C Hamano1-1/+1
3 daysbuiltin/mv: fix leaks for submodule gitfile pathsPatrick Steinhardt1-19/+25
3 daysbuiltin/mv: refactor to use `struct strvec`Patrick Steinhardt1-65/+60
3 daysbuiltin/mv duplicate string list memoryPatrick Steinhardt1-6/+13
3 daysbuiltin/mv: refactor `add_slash()` to always return allocated stringsPatrick Steinhardt1-18/+20
3 daysbuiltin/credential: clear credential before exitPatrick Steinhardt1-0/+2
3 daysconfig: clarify memory ownership in `git_config_string()`Patrick Steinhardt6-15/+15
3 daysbuiltin/log: stop using globals for format configPatrick Steinhardt1-202/+265
3 daysbuiltin/log: stop using globals for log configPatrick Steinhardt1-103/+156
3 daysconfig: clarify memory ownership in `git_config_pathname()`Patrick Steinhardt5-6/+6
3 dayscheckout: clarify memory ownership in `unique_tracking_name()`Patrick Steinhardt2-15/+19
3 daysdifftool: add env vars directly in run_file_diff()René Scharfe1-8/+4
6 daysMerge branch 'fixes/2.45.1/2.44' into jc/fix-2.45.1-and-friends-for-maintJunio C Hamano1-11/+2
6 daysMerge branch 'fixes/2.45.1/2.43' into fixes/2.45.1/2.44Junio C Hamano1-11/+2
6 daysMerge branch 'fixes/2.45.1/2.42' into fixes/2.45.1/2.43Junio C Hamano1-11/+2
6 daysMerge branch 'fixes/2.45.1/2.41' into fixes/2.45.1/2.42Junio C Hamano1-11/+2
6 daysMerge branch 'fixes/2.45.1/2.40' into fixes/2.45.1/2.41Junio C Hamano1-11/+2
6 daysMerge branch 'jc/fix-2.45.1-and-friends-for-2.39' into fixes/2.45.1/2.40Junio C Hamano1-11/+2
6 dayspack-objects: use the missing action APIChristian Couder1-23/+14
6 daysrev-list: refactor --missing=<missing-action>Christian Couder1-35/+8
6 dayspack-bitmap: move some initialization to `bitmap_writer_init()`Taylor Blau1-1/+2
7 daysMerge branch 'la/hide-trailer-info'Junio C Hamano1-6/+6
7 daysMerge branch 'kn/ref-transaction-symref' into kn/update-ref-symrefJunio C Hamano8-6/+10
7 daysMerge branch 'ps/pseudo-ref-terminology' into ps/ref-storage-migrationJunio C Hamano1-1/+1
7 daysMerge branch 'ps/refs-without-the-repository-updates' into ps/ref-storage-mig...Junio C Hamano14-25/+38
9 daysclone: drop the protections where hooks aren't runJohannes Schindelin1-11/+1
9 daysapply: fix uninitialized hash functionJunio C Hamano1-0/+10
9 daysbuiltin/hash-object: fix uninitialized hash functionPatrick Steinhardt1-0/+3
9 daysbuiltin/patch-id: fix uninitialized hash functionPatrick Steinhardt1-0/+13
10 daysMerge branch 'kn/ref-transaction-symref'Junio C Hamano13-16/+20
13 daysrefs: remove `dwim_log()`Patrick Steinhardt1-1/+1
13 daysrefs: drop `git_default_branch_name()`Patrick Steinhardt2-2/+5
13 daysrefs: pass repo when peeling objectsPatrick Steinhardt5-7/+7
13 daysrefs: pass ref store when detecting dangling symrefsPatrick Steinhardt2-2/+4
13 daysrefs: convert iteration over replace refs to accept ref storePatrick Steinhardt1-5/+8
13 daysrefs: refactor `resolve_gitlink_ref()` to accept a repositoryPatrick Steinhardt2-5/+8
13 daysrefs: pass repo when retrieving submodule ref storePatrick Steinhardt1-2/+4
13 daysrefs: rename `init_db` callback to avoid confusionPatrick Steinhardt1-1/+1
2024-05-16Merge branch 'ps/refs-without-the-repository'Junio C Hamano34-239/+384
2024-05-16Merge branch 'ps/refs-without-the-repository' into ps/refs-without-the-reposi...Junio C Hamano34-239/+384
2024-05-15Merge branch 'jp/tag-trailer'Junio C Hamano2-26/+32
2024-05-15Merge branch 'ps/config-subcommands'Junio C Hamano1-98/+414
2024-05-15ref-filter: properly distinuish pseudo and root refsPatrick Steinhardt1-1/+1
2024-05-15builtin/config: pass data between callbacks via local variablesPatrick Steinhardt1-38/+52
2024-05-15builtin/config: convert flags to a local variablePatrick Steinhardt1-19/+29
2024-05-15builtin/config: track "fixed value" option via flags onlyPatrick Steinhardt1-7/+7
2024-05-15builtin/config: convert `key` to a local variablePatrick Steinhardt1-2/+5
2024-05-15builtin/config: convert `key_regexp` to a local variablePatrick Steinhardt1-8/+8
2024-05-15builtin/config: convert `regexp` to a local variablePatrick Steinhardt1-9/+9
2024-05-15builtin/config: convert `value_pattern` to a local variablePatrick Steinhardt1-3/+3
2024-05-15builtin/config: convert `do_not_match` to a local variablePatrick Steinhardt1-3/+3
2024-05-15builtin/config: move `respect_includes_opt` into location optionsPatrick Steinhardt1-7/+12
2024-05-15builtin/config: move default value into display optionsPatrick Steinhardt1-8/+11
2024-05-15builtin/config: move type options into display optionsPatrick Steinhardt1-31/+29
2024-05-15builtin/config: move display options into local variablesPatrick Steinhardt1-70/+101
2024-05-15builtin/config: move location options into local variablesPatrick Steinhardt1-137/+176
2024-05-15builtin/config: refactor functions to have common exit pathsPatrick Steinhardt1-26/+38
2024-05-15builtin/config: check for writeability after source is set upPatrick Steinhardt1-5/+5
2024-05-15builtin/config: move actions into `cmd_config_actions()`Patrick Steinhardt1-25/+23
2024-05-15builtin/config: move legacy options into `cmd_config()`Patrick Steinhardt1-30/+30
2024-05-15builtin/config: move subcommand options into `cmd_config()`Patrick Steinhardt1-14/+14
2024-05-15builtin/config: move legacy mode into its own functionPatrick Steinhardt1-19/+24
2024-05-15builtin/config: stop printing full usage on misusePatrick Steinhardt1-17/+11
2024-05-15pack-bitmap: introduce `bitmap_writer_free()`Taylor Blau1-1/+2
2024-05-15pack-bitmap: drop unused `max_bitmaps` parameterTaylor Blau1-2/+1
2024-05-15pack-bitmap: avoid use of static `bitmap_writer`Taylor Blau1-6/+13
2024-05-13Sync with Git 2.45.1Junio C Hamano3-8/+131
2024-05-13Merge branch 'ps/undecided-is-not-necessarily-sha1' into jc/undecided-is-not-...Junio C Hamano5-7/+19
2024-05-10Merge branch 'ps/config-subcommands' into ps/builtin-config-cleanupJunio C Hamano1-98/+414
2024-05-08Merge branch 'ps/the-index-is-no-more'Junio C Hamano29-375/+359
2024-05-08Merge branch 'bc/credential-scheme-enhancement'Junio C Hamano4-8/+41
2024-05-07cocci: apply rules to rewrite callers of "refs" interfacesPatrick Steinhardt34-239/+384
2024-05-07refs: add `exclude_patterns` parameter to `for_each_fullref_in()`Patrick Steinhardt2-4/+4
2024-05-07builtin/tag: add --trailer optionJohn Passaro1-9/+29
2024-05-07builtin/commit: refactor --trailer logicJohn Passaro1-8/+2
2024-05-07builtin/commit: use ARGV macro to collect trailersJohn Passaro1-9/+1
2024-05-07refs: rename `refs_create_symref()` to `refs_update_symref()`Karthik Nayak2-2/+2
2024-05-07refs: accept symref values in `ref_transaction_update()`Karthik Nayak6-4/+8
2024-05-06builtin/shortlog: don't set up revisions without repoPatrick Steinhardt1-1/+1
2024-05-06builtin/diff: explicitly set hash algo when there is no repoPatrick Steinhardt1-0/+9
2024-05-06builtin/bundle: abort "verify" early when there is no repositoryPatrick Steinhardt1-0/+5
2024-05-06builtin/blame: don't access potentially unitialized `the_hash_algo`Patrick Steinhardt1-3/+2
2024-05-06builtin/rev-parse: allow shortening to more than 40 hex charactersPatrick Steinhardt1-3/+2
2024-05-06Merge branch 'ps/the-index-is-no-more' into ps/undecided-is-not-necessarily-sha1Junio C Hamano29-375/+359
2024-05-06format-patch: run range-diff with larger creation-factorJunio C Hamano1-1/+1
2024-05-06builtin/config: display subcommand helpPatrick Steinhardt1-2/+3
2024-05-06builtin/config: introduce "edit" subcommandPatrick Steinhardt1-26/+55
2024-05-06builtin/config: introduce "remove-section" subcommandPatrick Steinhardt1-0/+32
2024-05-06builtin/config: introduce "rename-section" subcommandPatrick Steinhardt1-0/+32
2024-05-06builtin/config: introduce "unset" subcommandPatrick Steinhardt1-0/+39
2024-05-06builtin/config: introduce "set" subcommandPatrick Steinhardt1-0/+63
2024-05-06builtin/config: introduce "get" subcommandPatrick Steinhardt1-9/+60
2024-05-06builtin/config: introduce "list" subcommandPatrick Steinhardt1-12/+78
2024-05-06builtin/config: pull out function to handle `--null`Patrick Steinhardt1-6/+9
2024-05-06builtin/config: pull out function to handle config locationPatrick Steinhardt1-65/+68
2024-05-06builtin/config: use `OPT_CMDMODE()` to specify modesPatrick Steinhardt1-18/+14
2024-05-06builtin/config: move "fixed-value" option to correct groupPatrick Steinhardt1-1/+1
2024-05-06builtin/config: move option array aroundPatrick Steinhardt1-48/+48
2024-05-06config: clarify memory ownership when preparing comment stringsPatrick Steinhardt1-5/+6
2024-05-02trailer: make parse_trailers() return trailer_info pointerLinus Arver1-2/+2
2024-05-02interpret-trailers: access trailer_info with new helpersLinus Arver1-6/+6
2024-04-30Merge branch 'js/for-each-repo-keep-going'Junio C Hamano2-5/+15
2024-04-30Merge branch 'aj/stash-staged-fix'Junio C Hamano1-2/+2
2024-04-30Merge branch 'jc/format-patch-rfc-more'Junio C Hamano1-4/+22
2024-04-30Merge branch 'ds/format-patch-rfc-and-k'Junio C Hamano1-1/+3
2024-04-30Merge branch 'xx/disable-replace-when-building-midx'Junio C Hamano1-0/+3
2024-04-29Sync with 2.44.1Johannes Schindelin3-8/+131
2024-04-25Merge branch 'rj/add-i-leak-fix'Junio C Hamano1-3/+6
2024-04-24maintenance: running maintenance should not stop on errorsJohannes Schindelin1-3/+4
2024-04-24for-each-repo: optionally keep going on an errorJohannes Schindelin1-2/+11
2024-04-23Merge branch 'ps/run-auto-maintenance-in-receive-pack'Junio C Hamano1-11/+10
2024-04-23Merge branch 'ta/fast-import-parse-path-fix'Junio C Hamano1-78/+84
2024-04-23format-patch: "--rfc=-(WIP)" appends to produce [PATCH (WIP)]Junio C Hamano1-2/+6
2024-04-23format-patch: allow --rfc to optionally take a value, like --rfc=WIPJunio C Hamano1-4/+19
2024-04-22add: plug a leak on interactive_addRubén Justo1-3/+6
2024-04-22stash: fix "--staged" with binary filesAdam Johnson1-2/+2
2024-04-19format-patch: ensure that --rfc and -k are mutually exclusiveDragan Simic1-1/+3
2024-04-19Sync with 2.43.4Johannes Schindelin3-8/+131
2024-04-19Sync with 2.42.2Johannes Schindelin3-8/+131
2024-04-19Sync with 2.41.1Johannes Schindelin3-8/+131
2024-04-19Sync with 2.40.2Johannes Schindelin4-26/+135
2024-04-19Sync with 2.39.4Johannes Schindelin4-26/+135
2024-04-19Merge branch 'ownership-checks-in-local-clones'Johannes Schindelin1-5/+34
2024-04-19clone: prevent hooks from running during a cloneJohannes Schindelin1-1/+11
2024-04-18builtin/clone: stop using `the_index`Patrick Steinhardt1-4/+3
2024-04-18builtin: stop using `the_index`Patrick Steinhardt28-371/+356
2024-04-17init: refactor the template directory discovery into its own functionJohannes Schindelin1-18/+4
2024-04-17submodule: require the submodule path to contain directories onlyJohannes Schindelin1-1/+31
2024-04-17clone_submodule: avoid using `access()` on directoriesJohannes Schindelin1-1/+1
2024-04-17submodules: submodule paths must not contain symlinksJohannes Schindelin1-0/+35
2024-04-17clone: prevent clashing git dirs when cloning submodule in parallelFilip Hejsek1-0/+17
2024-04-17upload-pack: disable lazy-fetching by defaultJeff King1-0/+2
2024-04-17midx: disable replace objectsXing Xin1-0/+3
2024-04-17builtin/receive-pack: convert to use git-maintenance(1)Patrick Steinhardt1-11/+10
2024-04-16credential: add method for querying capabilitiesbrian m. carlson2-0/+16
2024-04-16credential-cache: implement authtype capabilitybrian m. carlson1-3/+17
2024-04-16credential: add support for multistage credential roundsbrian m. carlson1-0/+1
2024-04-16credential: gate new fields on capabilitybrian m. carlson3-5/+7
2024-04-17builtin/clone: refuse local clones of unsafe repositoriesPatrick Steinhardt1-0/+14
2024-04-17builtin/clone: abort when hardlinked source and target file differPatrick Steinhardt1-1/+20
2024-04-17builtin/clone: stop resolving symlinks when copying filesPatrick Steinhardt1-5/+1
2024-04-16Merge branch 'rs/date-mode-pass-by-value'Junio C Hamano1-2/+2
2024-04-15Merge branch 'gt/add-u-commit-i-pathspec-check'Junio C Hamano3-4/+17
2024-04-15Merge branch 'ds/fetch-config-parse-microfix'Junio C Hamano1-0/+1
2024-04-15Merge branch 'ma/win32-unix-domain-socket'Junio C Hamano2-0/+5
2024-04-15fast-import: make comments more preciseThalia Archibald1-3/+3
2024-04-15fast-import: forbid escaped NUL in pathsThalia Archibald1-0/+2
2024-04-15fast-import: remove dead strbufThalia Archibald1-5/+0
2024-04-15fast-import: allow unquoted empty path for rootThalia Archibald1-3/+0
2024-04-15fast-import: directly use strbufs for pathsThalia Archibald1-37/+27
2024-04-15fast-import: tighten path unquotingThalia Archibald1-43/+65
2024-04-12Merge branch 'jc/checkout-detach-wo-tracking-report'Junio C Hamano1-1/+2
2024-04-12Merge branch 'js/merge-tree-3-trees'Junio C Hamano1-1/+1
2024-04-12merge-tree: fix argument type of the `--merge-base` optionJohannes Schindelin1-1/+1
2024-04-10Merge branch 'kn/clarify-update-ref-doc'Junio C Hamano1-13/+13
2024-04-09Merge branch 'rj/use-adv-if-enabled'Junio C Hamano1-11/+7
2024-04-09Merge branch 'ps/pack-refs-auto'Junio C Hamano2-48/+69
2024-04-05date: make DATE_MODE thread-safeRené Scharfe1-2/+2
2024-04-05Merge branch 'jk/core-comment-string'Junio C Hamano9-38/+39
2024-04-05Merge branch 'rs/config-comment'Junio C Hamano4-12/+22
2024-04-05fetch: return when parsing submodule.recurseDerrick Stolee1-0/+1
2024-04-03builtin/add: error out when passing untracked path with -uGhanshyam Thakkar1-1/+8
2024-04-03builtin/commit: error out when passing untracked path with -iGhanshyam Thakkar1-1/+6