aboutsummaryrefslogtreecommitdiffstats
path: root/repository.c
AgeCommit message (Expand)AuthorFilesLines
2024-03-28Merge branch 'eb/hash-transition'Junio C Hamano1-0/+14
2024-01-19refs: convert MERGE_AUTOSTASH to become a normal pseudo-refPatrick Steinhardt1-1/+0
2024-01-19refs: convert AUTO_MERGE to become a normal pseudo-refPatrick Steinhardt1-1/+0
2024-01-02setup: start tracking ref storage formatPatrick Steinhardt1-0/+6
2023-10-02repository: implement extensions.compatObjectFormatbrian m. carlson1-1/+1
2023-10-02loose: add a mapping between SHA-1 and SHA-256 for loose objectsbrian m. carlson1-0/+6
2023-10-02repository: add a compatibility hash algorithmEric W. Biederman1-0/+8
2023-06-21object-store-ll.h: split this header out of object-store.hElijah Newren1-1/+1
2023-06-21repository: remove unnecessary include of path.hElijah Newren1-0/+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-05-26repository: move 'repository_format_worktree_config' to repo scopeVictoria Dye1-0/+1
2023-04-11treewide: be explicit about dependence on trace.h & trace2.hElijah Newren1-0/+1
2023-03-21setup.h: move declarations for setup.c functions from cache.hElijah Newren1-0/+1
2023-03-21abspath.h: move absolute path functions from cache.hElijah Newren1-0/+1
2023-01-17treewide: always have a valid "index_state.repo" memberÆvar Arnfjörð Bjarmason1-7/+6
2023-01-16cache API: add a "INDEX_STATE_INIT" macro/function, add release_index()Ævar Arnfjörð Bjarmason1-2/+4
2022-11-21{builtin/*,repository}.c: add & use "USE_THE_INDEX_VARIABLE"Ævar Arnfjörð Bjarmason1-1/+1
2022-03-13Merge branch 'ab/plug-random-leaks'Junio C Hamano1-0/+16
2022-03-04repository.c: free the "path cache" in repo_clear()Ævar Arnfjörð Bjarmason1-0/+16
2022-01-14repo_read_index: clear SKIP_WORKTREE bit from files present in worktreeElijah Newren1-0/+7
2022-01-03Merge branch 'ns/tmp-objdir'Junio C Hamano1-0/+2
2021-12-08tmp-objdir: disable ref updates when replacing the primary odbNeeraj Singh1-0/+2
2021-11-18remote: move static variables into per-repository structGlen Choo1-0/+8
2021-10-06Merge branch 'jt/add-submodule-odb-clean-up'Junio C Hamano1-9/+12
2021-09-15submodule: extract path to submodule gitdir funcJonathan Tan1-2/+1
2021-09-09repository: support unabsorbed in repo_submodule_initJonathan Tan1-9/+12
2021-06-28promisor-remote: support per-repository configJonathan Tan1-0/+6
2021-06-28repository: move global r_f_p_c to repo structJonathan Tan1-0/+4
2021-04-30Merge branch 'ds/sparse-index-protections'Junio C Hamano1-1/+10
2021-03-30sparse-index: add guard to ensure full indexDerrick Stolee1-1/+10
2021-03-13use CALLOC_ARRAYRené Scharfe1-2/+2
2021-01-23repository: add repo reference to index_stateDerrick Stolee1-0/+6
2020-07-30repository: enable SHA-256 support by defaultbrian m. carlson1-4/+0
2020-02-24repository: require a build flag to use SHA-256brian m. carlson1-0/+4
2019-11-10Fix spelling errors in code commentsElijah Newren1-2/+2
2019-03-20Merge branch 'ma/clear-repository-format'Junio C Hamano1-1/+2
2019-03-01setup: fix memory leaks with `struct repository_format`Martin Ågren1-1/+2
2019-02-22trace2: create new combined trace facilityJeff Hostetler1-0/+2
2019-02-06Merge branch 'nd/the-index-final'Junio C Hamano1-0/+16
2019-01-29Merge branch 'sb/submodule-recursive-fetch-gets-the-tip'Junio C Hamano1-17/+10
2019-01-24cache.h: flip NO_THE_INDEX_COMPATIBILITY_MACROS switchNguyễn Thái Ngọc Duy1-0/+6
2019-01-14repository.c: replace hold_locked_index() with repo_hold_locked_index()Nguyễn Thái Ngọc Duy1-0/+10
2018-12-05repository: repo_submodule_init to take a submodule structStefan Beller1-17/+10
2018-11-13sha1-file: use an object_directory for the main object dirJeff King1-1/+7
2018-06-25Merge branch 'sb/object-store-alloc'Junio C Hamano1-0/+7
2018-05-30Merge branch 'nd/repo-clear-keep-the-index'Junio C Hamano1-1/+2
2018-05-10repository: fix free problem with repo_clear(the_repository)Nguyễn Thái Ngọc Duy1-1/+2
2018-05-09repository: introduce parsed objects fieldStefan Beller1-0/+7
2018-03-29submodule: fixup nested submodules after moving the submoduleStefan Beller1-3/+3
2018-03-29submodule-config: remove submodule_from_cacheStefan Beller1-1/+1
2018-03-23repository: introduce raw object store fieldStefan Beller1-5/+10
2018-03-05repository: delete ignore_env memberNguyễn Thái Ngọc Duy1-2/+0
2018-03-05sha1_file.c: move delayed getenv(altdb) back to setup_git_env()Nguyễn Thái Ngọc Duy1-0/+3
2018-03-05repository.c: delete dead functionsNguyễn Thái Ngọc Duy1-25/+0
2018-03-05repository.c: move env-related setup code back to environment.cNguyễn Thái Ngọc Duy1-18/+40
2018-03-05repository: initialize the_repository in main()Nguyễn Thái Ngọc Duy1-5/+13
2018-02-13Merge branch 'tg/split-index-fixes'Junio C Hamano1-1/+1
2018-01-19repository: pre-initialize hash algo pointerbrian m. carlson1-1/+1
2018-01-19read-cache: fix reading the shared index for other reposThomas Gummerer1-1/+1
2017-11-28repository: fix a sparse 'using integer as NULL pointer' warningRamsay Jones1-1/+1
2017-11-13Integrate hash algorithm support with repo setupbrian m. carlson1-0/+7
2017-10-02repository: use FREE_AND_NULLRené Scharfe1-18/+9
2017-09-06set_git_dir: handle feeding gitdir to itselfJeff King1-7/+3
2017-09-06repository: free fields before overwriting themJeff King1-0/+4
2017-08-22Merge branch 'bw/grep-recurse-submodules'Junio C Hamano1-3/+3
2017-07-18repository: have the_repository use the_indexBrandon Williams1-1/+3
2017-07-18repo_read_index: don't discard the indexBrandon Williams1-2/+0
2017-07-17submodule: convert submodule config lookup to use object_idbrian m. carlson1-1/+1
2017-06-23repository: enable initialization of submodulesBrandon Williams1-0/+54
2017-06-23submodule-config: store the_submodule_cache in the_repositoryBrandon Williams1-0/+6
2017-06-23repository: add index_state to struct repoBrandon Williams1-0/+16
2017-06-23config: read config from a repository objectBrandon Williams1-0/+7
2017-06-23repository: introduce the repository objectBrandon Williams1-0/+159