aboutsummaryrefslogtreecommitdiffstats
path: root/unpack-trees.c
AgeCommit message (Expand)AuthorFilesLines
2023-10-10Merge branch 'cw/prelim-cleanup'Junio C Hamano1-1/+1
2023-09-29parse: separate out parsing functions from config.hCalvin Wan1-1/+1
2023-08-31tree-walk: reduce stack size for recursive functionsJeff King1-2/+7
2023-06-21object-store-ll.h: split this header out of object-store.hElijah Newren1-1/+1
2023-06-21cache.h: remove this no-longer-used headerElijah Newren1-1/+1
2023-06-21read-cache*.h: move declarations for read-cache.c functions from cache.hElijah Newren1-0/+1
2023-06-21name-hash.h: move declarations for name-hash.c from cache.hElijah Newren1-0/+1
2023-05-09Merge branch 'en/header-split-cache-h-part-2'Junio C Hamano1-0/+1
2023-04-25Merge branch 'en/header-split-cache-h'Junio C Hamano1-0/+2
2023-04-24symlinks.h: move declarations for symlinks.c functions from cache.hElijah Newren1-0/+1
2023-04-11treewide: be explicit about dependence on advice.hElijah Newren1-0/+1
2023-04-11treewide: be explicit about dependence on trace.h & trace2.hElijah Newren1-0/+1
2023-04-06Merge branch 'en/header-split-cleanup'Junio C Hamano1-0/+3
2023-04-06Merge branch 'ab/remove-implicit-use-of-the-repository'Junio C Hamano1-1/+1
2023-04-04Merge branch 'js/split-index-fixes'Junio C Hamano1-0/+2
2023-04-04Merge branch 'ab/remove-implicit-use-of-the-repository' into en/header-split-...Junio C Hamano1-1/+1
2023-03-28cocci: apply the "promisor-remote.h" part of "the_repository.pending"Ævar Arnfjörð Bjarmason1-1/+1
2023-03-27unpack-trees: take care to propagate the split-index flagJohannes Schindelin1-0/+2
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-27unpack-trees: add usage notices around df_conflict_entryElijah Newren1-0/+2
2023-02-27unpack-trees: special case read-tree debugging as internal usageElijah Newren1-11/+11
2023-02-27unpack-trees: rewrap a few overlong lines from previous patchElijah Newren1-7/+9
2023-02-27unpack-trees: mark fields only used internally as internalElijah Newren1-79/+80
2023-02-27unpack_trees: start splitting internal fields from public APIElijah Newren1-20/+20
2023-02-27sparse-checkout: avoid using internal API of unpack-trees, take 2Elijah Newren1-0/+1
2023-02-27sparse-checkout: avoid using internal API of unpack-treesElijah Newren1-7/+11
2023-02-27unpack-trees: clean up some flow controlElijah Newren1-4/+3
2023-02-27unpack-trees: heed requests to overwrite ignored filesElijah Newren1-1/+1
2023-02-23cache.h: remove dependence on hex.h; make other files include it explicitlyElijah Newren1-0/+1
2023-01-17treewide: always have a valid "index_state.repo" memberÆvar Arnfjörð Bjarmason1-1/+1
2023-01-16cache API: add a "INDEX_STATE_INIT" macro/function, add release_index()Ævar Arnfjörð Bjarmason1-1/+1
2023-01-13sparse-index API: BUG() out on NULL ensure_full_index()Ævar Arnfjörð Bjarmason1-1/+2
2023-01-05Merge branch 'ab/no-more-git-global-super-prefix'Junio C Hamano1-10/+14
2022-12-26read-tree: add "--super-prefix" option, eliminate globalÆvar Arnfjörð Bjarmason1-10/+14
2022-12-15git: remove duplicate includesSeija Kijin1-1/+0
2022-11-10unpack-trees: add 'skip_cache_tree_update' optionVictoria Dye1-1/+2
2022-09-09Merge branch 'vd/sparse-reset-checkout-fixes'Junio C Hamano1-2/+2
2022-09-02unpack-trees: fix sparse directory recursion checkVictoria Dye1-2/+2
2022-08-26Merge branch 'vd/sparse-reset-checkout-fixes' into maintJunio C Hamano1-10/+96
2022-08-18Merge branch 'vd/sparse-reset-checkout-fixes'Junio C Hamano1-10/+96
2022-08-08unpack-trees: unpack new trees as sparse directoriesVictoria Dye1-10/+96
2022-07-14checkout: fix two bugs on the final count of updated entriesMatheus Tavares1-1/+1
2022-06-10Merge branch 'jh/builtin-fsmonitor-part3'Junio C Hamano1-0/+1
2022-06-03Merge branch 'ds/sparse-sparse-checkout'Junio C Hamano1-0/+4
2022-05-26unpack-trees: initialize fsmonitor_has_run_once in o->resultJeff Hostetler1-0/+1
2022-05-23sparse-checkout: integrate with sparse indexDerrick Stolee1-0/+4
2022-05-10unpack-trees: preserve index sparsityVictoria Dye1-0/+6
2022-03-17Revert "unpack-trees: improve performance of next_cache_entry"Victoria Dye1-17/+6
2022-03-17unpack-trees: increment cache_bottom for sparse directoriesVictoria Dye1-8/+8
2022-03-16Merge branch 'vd/sparse-read-tree'Junio C Hamano1-8/+139
2022-03-01read-tree: make three-way merge sparse-awareVictoria Dye1-8/+26
2022-03-01read-tree: make two-way merge sparse-awareVictoria Dye1-0/+75
2022-03-01read-tree: narrow scope of index expansion for '--prefix'Victoria Dye1-0/+38
2022-01-14unpack-trees: fix accidental loss of user changesElijah Newren1-1/+3
2022-01-05Merge branch 'en/keep-cwd'Junio C Hamano1-6/+24
2021-12-15Merge branch 'ds/sparse-deep-pattern-checkout-fix'Junio C Hamano1-6/+8
2021-12-10Merge branch 'vd/sparse-reset'Junio C Hamano1-6/+17
2021-12-09unpack-trees: add special cwd handlingElijah Newren1-2/+11
2021-12-09unpack-trees: refuse to remove startup_info->original_cwdElijah Newren1-4/+13
2021-12-06unpack-trees: use traverse_path instead of nameDerrick Stolee1-6/+8
2021-11-29unpack-trees: improve performance of next_cache_entryVictoria Dye1-6/+17
2021-10-25Merge branch 'ab/unpack-trees-leakfix'Junio C Hamano1-1/+2
2021-10-13Merge branch 'en/removing-untracked-fixes'Junio C Hamano1-5/+56
2021-10-07unpack-trees: don't leak memory in verify_clean_subdirectory()Ævar Arnfjörð Bjarmason1-1/+2
2021-09-27unpack-trees: avoid nuking untracked dir in way of locally deleted fileElijah Newren1-0/+3
2021-09-27unpack-trees: avoid nuking untracked dir in way of unmerged fileElijah Newren1-4/+31
2021-09-27Change unpack_trees' 'reset' flag into an enumElijah Newren1-1/+9
2021-09-27unpack-trees: make dir an internal-only structElijah Newren1-2/+5
2021-09-27unpack-trees: introduce preserve_ignored to unpack_trees_optionsElijah Newren1-0/+10
2021-09-20Merge branch 'ds/sparse-index-ignored-files'Junio C Hamano1-3/+5
2021-09-10Merge branch 'ab/retire-advice-config'Junio C Hamano1-9/+9
2021-09-07unpack-trees: fix nested sparse-dir searchDerrick Stolee1-3/+5
2021-08-26checkout: make delayed checkout respect --quiet and --no-progressMatheus Tavares1-1/+1
2021-08-25advice: remove read uses of most global `advice_` variablesBen Boeckel1-9/+9
2021-08-04Merge branch 'ds/commit-and-checkout-with-sparse-index'Junio C Hamano1-0/+11
2021-08-02Merge branch 'jt/bulk-prefetch'Junio C Hamano1-19/+8
2021-07-23unpack-trees: refactor prefetching codeJonathan Tan1-19/+8
2021-07-20unpack-trees: resolve sparse-directory/file conflictsDerrick Stolee1-0/+11
2021-07-14unpack-trees: unpack sparse directory entriesDerrick Stolee1-8/+99
2021-07-14unpack-trees: rename unpack_nondirectories()Derrick Stolee1-7/+7
2021-07-14unpack-trees: compare sparse directories correctlyDerrick Stolee1-1/+13
2021-07-14unpack-trees: preserve cache_bottomDerrick Stolee1-0/+7
2021-05-16Merge branch 'mt/parallel-checkout-part-3'Junio C Hamano1-1/+1
2021-05-05make_transient_cache_entry(): optionally alloc from mem_poolMatheus Tavares1-1/+1
2021-04-30Merge branch 'mt/parallel-checkout-part-2'Junio C Hamano1-3/+16
2021-04-30Merge branch 'ds/sparse-index-protections'Junio C Hamano1-3/+14
2021-04-19parallel-checkout: support progress displayingMatheus Tavares1-3/+8
2021-04-19parallel-checkout: add configuration optionsMatheus Tavares1-3/+7
2021-04-19unpack-trees: add basic support for parallel checkoutMatheus Tavares1-1/+5
2021-04-02Merge branch 'mt/parallel-checkout-part-1'Junio C Hamano1-0/+1
2021-03-30Merge branch 'mt/checkout-remove-nofollow'Junio C Hamano1-1/+1
2021-03-30unpack-trees: allow sparse directoriesDerrick Stolee1-3/+7
2021-03-30unpack-trees: ensure full indexDerrick Stolee1-0/+7
2021-03-23entry: extract a header file for entry.c functionsMatheus Tavares1-0/+1
2021-03-22Merge branch 'dl/stash-show-untracked'Junio C Hamano1-0/+22
2021-03-19Merge branch 'js/fsmonitor-unpack-fix'Junio C Hamano1-2/+2
2021-03-18checkout: don't follow symlinks when removing entriesMatheus Tavares1-1/+1
2021-03-17fsmonitor: fix memory corruption in some corner casesJohannes Schindelin1-2/+2
2021-03-08Sync with Git 2.30.2 for CVE-2021-21300Junio C Hamano1-0/+3
2021-03-05stash show: teach --include-untracked and --only-untrackedDenton Liu1-0/+22
2021-02-12Sync with 2.28.1Johannes Schindelin1-0/+3
2021-02-12Sync with 2.26.3Johannes Schindelin1-0/+3
2021-02-12Sync with 2.25.5Johannes Schindelin1-0/+3
2021-02-12Sync with 2.24.4Johannes Schindelin1-0/+3
2021-02-12Sync with 2.23.4Johannes Schindelin1-0/+3
2021-02-12Sync with 2.22.5Johannes Schindelin1-0/+3
2021-02-12Sync with 2.21.4Johannes Schindelin1-0/+3
2021-02-12Sync with 2.20.5Johannes Schindelin1-0/+3
2021-02-12Sync with 2.19.6Johannes Schindelin1-0/+3
2021-02-12Sync with 2.18.5Johannes Schindelin1-0/+3
2021-02-12Sync with 2.17.6Johannes Schindelin1-0/+3
2021-02-12unpack_trees(): start with a fresh lstat cacheMatheus Tavares1-0/+3
2021-01-23sparse-checkout: load sparse-checkout patternsDerrick Stolee1-5/+1
2021-01-23cache-tree: clean up cache_tree_update()Derrick Stolee1-2/+0
2021-01-04unpack-trees: add trace2 regionsDerrick Stolee1-0/+5
2020-07-28strvec: convert remaining callers away from argv_array nameJeff King1-5/+5
2020-07-28strvec: rename files from argv-array to strvecJeff King1-1/+1
2020-05-20Merge branch 'en/sparse-checkout'Junio C Hamano1-3/+3
2020-05-15unpack-trees: also allow get_progress() to work on a different indexElijah Newren1-3/+3
2020-05-13Merge branch 'ds/sparse-updates-oob-access-fix'Junio C Hamano1-5/+5
2020-05-08Merge branch 'ds/sparse-allow-empty-working-tree'Junio C Hamano1-33/+1
2020-05-08unpack-trees: avoid array out-of-bounds errorDerrick Stolee1-5/+5
2020-05-04sparse-checkout: stop blocking empty workdirsDerrick Stolee1-33/+1
2020-04-29Merge branch 'en/sparse-checkout'Junio C Hamano1-55/+200
2020-04-28Merge branch 'jt/avoid-prefetch-when-able-in-diff'Junio C Hamano1-3/+2
2020-04-02promisor-remote: accept 0 as oid_nr in functionJonathan Tan1-3/+2
2020-03-27unpack-trees: failure to set SKIP_WORKTREE bits always just a warningElijah Newren1-16/+15
2020-03-27unpack-trees: provide warnings on sparse updates for unmerged paths tooElijah Newren1-0/+30
2020-03-27unpack-trees: make sparse path messages sound like warningsElijah Newren1-4/+4
2020-03-27unpack-trees: split display_error_msgs() into twoElijah Newren1-8/+42
2020-03-27unpack-trees: rename ERROR_* fields meant for warnings to WARNING_*Elijah Newren1-6/+6
2020-03-27unpack-trees: move ERROR_WOULD_LOSE_SUBMODULE earlierElijah Newren1-6/+6
2020-03-27unpack-trees: add a new update_sparsity() functionElijah Newren1-0/+77
2020-03-27unpack-trees: pull sparse-checkout pattern reading into a new functionElijah Newren1-8/+16
2020-03-27unpack-trees: do not mark a dirty path with SKIP_WORKTREEElijah Newren1-1/+4
2020-03-27unpack-trees: allow check_updates() to work on a different indexElijah Newren1-3/+3
2020-03-27unpack-trees: simplify pattern_list freeingElijah Newren1-2/+4
2020-03-27unpack-trees: simplify verify_absent_sparse()Elijah Newren1-6/+2
2020-03-27unpack-trees: remove unused error typeElijah Newren1-4/+0
2020-03-27unpack-trees: fix minor typo in commentElijah Newren1-1/+1
2020-03-26Merge branch 'bc/filter-process'Junio C Hamano1-0/+1
2020-03-26Merge branch 'pb/recurse-submodules-fix'Junio C Hamano1-5/+2
2020-03-17Merge branch 'en/simplify-check-updates-in-unpack-trees' into maintJunio C Hamano1-12/+14
2020-03-17Merge branch 'jk/clang-sanitizer-fixes' into maintJunio C Hamano1-1/+1
2020-03-16builtin/checkout: compute checkout metadata for checkoutsbrian m. carlson1-0/+1
2020-02-19unpack-trees: check for missing submodule directory in merged_entryPhilippe Blain1-2/+2
2020-02-19unpack-trees: remove outdated description for verify_clean_submodulePhilippe Blain1-3/+0
2020-02-14Merge branch 'ds/sparse-checkout-harden'Junio C Hamano1-1/+1
2020-02-14Merge branch 'mt/threaded-grep-in-object-store'Junio C Hamano1-2/+2
2020-02-14Merge branch 'ds/sparse-cone' into maintJunio C Hamano1-2/+2
2020-02-14Merge branch 'es/unpack-trees-oob-fix' into maintJunio C Hamano1-2/+4
2020-02-12Merge branch 'jk/clang-sanitizer-fixes'Junio C Hamano1-1/+1
2020-01-31sparse-checkout: fix cone mode behavior mismatchDerrick Stolee1-1/+1
2020-01-30Merge branch 'ds/sparse-cone'Junio C Hamano1-2/+2
2020-01-28avoid computing zero offsets from NULL pointerJeff King1-1/+1
2020-01-22Merge branch 'es/unpack-trees-oob-fix'Junio C Hamano1-2/+4
2020-01-22Merge branch 'en/simplify-check-updates-in-unpack-trees'Junio C Hamano1-12/+14
2020-01-17submodule-config: add skip_if_read option to repo_read_gitmodules()Matheus Tavares1-2/+2
2020-01-10unpack-trees: correctly compute result countDerrick Stolee via GitGitGadget1-2/+2
2020-01-08unpack-trees: watch for out-of-range index positionEmily Shaffer1-2/+4
2020-01-07unpack-trees: exit check_updates() early if updates are not wantedElijah Newren1-12/+14
2019-12-25Merge branch 'ds/sparse-cone'Junio C Hamano1-33/+77
2019-12-09Sync with Git 2.24.1Junio C Hamano1-1/+2
2019-12-06Sync with 2.23.1Johannes Schindelin1-1/+2
2019-12-06Sync with 2.22.2Johannes Schindelin1-1/+2
2019-12-06Sync with 2.21.1Johannes Schindelin1-1/+2
2019-12-06Sync with 2.20.2Johannes Schindelin1-1/+2
2019-12-06Sync with 2.19.3Johannes Schindelin1-1/+2
2019-12-06Sync with 2.18.2Johannes Schindelin1-1/+2
2019-12-06Sync with 2.17.3Johannes Schindelin1-1/+2
2019-12-06Sync with 2.16.6Johannes Schindelin1-1/+2
2019-12-06Sync with 2.15.4Johannes Schindelin1-1/+2
2019-12-06Sync with 2.14.6Johannes Schindelin1-1/+2
2019-12-05Merge branch 'us/unpack-trees-fsmonitor'Junio C Hamano1-1/+5
2019-12-05unpack-trees: let merged_entry() pass through do_add_entry()'s errorsJohannes Schindelin1-1/+2
2019-11-22sparse-checkout: update working directory in-processDerrick Stolee1-2/+3
2019-11-22unpack-trees: add progress to clear_ce_flags()Derrick Stolee1-15/+41
2019-11-22unpack-trees: hash less in cone modeDerrick Stolee1-15/+23
2019-11-22sparse-checkout: use hashmaps for cone patternsDerrick Stolee1-0/+1
2019-11-22trace2: add region in clear_ce_flagsJeff Hostetler1-1/+9
2019-11-21unpack-trees: skip stat on fsmonitor-valid filesUtsav Shah1-1/+5
2019-11-10Fix spelling errors in code commentsElijah Newren1-2/+2
2019-10-04treewide: remove duplicate #include directivesRené Scharfe1-1/+0
2019-09-30Merge branch 'ds/include-exclude'Junio C Hamano1-30/+37
2019-09-18Merge branch 'cc/multi-promisor'Junio C Hamano1-4/+4
2019-09-05unpack-trees: rename 'is_excluded_from_list()'Derrick Stolee1-16/+23
2019-09-05treewide: rename 'exclude' methods to 'pattern'Derrick Stolee1-2/+2
2019-09-05treewide: rename 'struct exclude_list' to 'struct pattern_list'Derrick Stolee1-21/+21
2019-08-22Merge branch 'jk/tree-walk-overflow'Junio C Hamano1-35/+39
2019-08-01tree-walk: harden make_traverse_path() length computationsJeff King1-1/+2
2019-08-01tree-walk: add a strbuf wrapper for make_traverse_path()Jeff King1-9/+7
2019-08-01tree-walk: accept a raw length for traverse_path_len()Jeff King1-3/+3
2019-08-01tree-walk: use size_t consistentlyJeff King1-3/+3
2019-07-31tree-walk: drop oid from traverse_infoJeff King1-24/+29
2019-07-19Merge branch 'nd/tree-walk-with-repo'Junio C Hamano1-1/+1
2019-07-09Merge branch 'nd/switch-and-restore'Junio C Hamano1-1/+1
2019-06-27tree-walk.c: remove the_repo from fill_tree_descriptor()Nguyễn Thái Ngọc Duy1-1/+1