summaryrefslogtreecommitdiff
path: root/repository.c
AgeCommit message (Expand)AuthorFilesLines
2025-02-28repo-settings: introduce function to clear structPatrick Steinhardt1-1/+1
2025-02-07path: refactor `repo_worktree_path()` family of functionsPatrick Steinhardt1-2/+2
2024-12-02worktree: add `relativeWorktrees` extensionCaleb White1-0/+1
2024-09-23Merge branch 'ps/environ-wo-the-repository'Junio C Hamano1-0/+40
2024-09-12environment: make `get_git_work_tree()` accept a repositoryPatrick Steinhardt1-0/+5
2024-09-12environment: make `get_graft_file()` accept a repositoryPatrick Steinhardt1-0/+7
2024-09-12environment: make `get_index_file()` accept a repositoryPatrick Steinhardt1-0/+7
2024-09-12environment: make `get_object_directory()` accept a repositoryPatrick Steinhardt1-0/+7
2024-09-12environment: make `get_git_common_dir()` accept a repositoryPatrick Steinhardt1-0/+7
2024-09-12environment: make `get_git_dir()` accept a repositoryPatrick Steinhardt1-0/+7
2024-09-05object: clear grafts when clearing parsed object poolPatrick Steinhardt1-1/+1
2024-06-14global: introduce `USE_THE_REPOSITORY_VARIABLE` macroPatrick Steinhardt1-0/+8
2024-06-13Merge branch 'ps/ref-storage-migration' into ps/use-the-repositoryJunio C Hamano1-1/+2
2024-06-06refs: convert ref storage format to an enumPatrick Steinhardt1-1/+2
2024-05-30Merge branch 'jc/undecided-is-not-necessarily-sha1-fix'Junio C Hamano1-0/+44
2024-05-30Merge branch 'ps/refs-without-the-repository-updates'Junio C Hamano1-0/+12
2024-05-30Merge branch 'ps/undecided-is-not-necessarily-sha1'Junio C Hamano1-20/+0
2024-05-21setup: add an escape hatch for "no more default hash algorithm" changeJunio C Hamano1-0/+44
2024-05-17refs: retrieve worktree ref stores via associated repositoryPatrick Steinhardt1-0/+4
2024-05-17refs: pass repo when retrieving submodule ref storePatrick Steinhardt1-0/+8
2024-05-13Sync with Git 2.45.1Junio C Hamano1-0/+2
2024-05-06repository: stop setting SHA1 as the default object hashPatrick Steinhardt1-20/+0
2024-04-29Sync with 2.44.1Johannes Schindelin1-0/+2
2024-04-19Sync with 2.43.4Johannes Schindelin1-0/+2
2024-04-19Sync with 2.41.1Johannes Schindelin1-0/+2
2024-04-19Sync with 2.40.2Johannes Schindelin1-0/+2
2024-04-18repository: drop `initialize_the_repository()`Patrick Steinhardt1-8/+21
2024-04-18repository: drop `the_index` variablePatrick Steinhardt1-19/+6
2024-04-18repository: initialize index in `repo_init()`Patrick Steinhardt1-11/+17
2024-04-12repository: avoid leaking `fsmonitor` dataJohannes Schindelin1-0/+2
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