summaryrefslogtreecommitdiff
path: root/path.c
AgeCommit message (Expand)AuthorFilesLines
2025-02-28path: adjust last remaining users of `the_repository`Patrick Steinhardt1-13/+12
2025-02-28environment: move access to "core.sharedRepository" into repo settingsPatrick Steinhardt1-5/+5
2025-02-28environment: move access to "core.hooksPath" into repo settingsPatrick Steinhardt1-7/+8
2025-02-28path: drop `git_path()` in favor of `repo_git_path()`Patrick Steinhardt1-4/+4
2025-02-07path: drop `git_common_path()` in favor of `repo_common_path()`Patrick Steinhardt1-4/+4
2025-02-07path: refactor `repo_submodule_path()` family of functionsPatrick Steinhardt1-8/+29
2025-02-07submodule: refactor `submodule_to_gitdir()` to accept a repoPatrick Steinhardt1-1/+1
2025-02-07path: refactor `repo_worktree_path()` family of functionsPatrick Steinhardt1-6/+22
2025-02-07path: refactor `repo_git_path()` family of functionsPatrick Steinhardt1-3/+16
2025-02-07path: refactor `repo_common_path()` family of functionsPatrick Steinhardt1-4/+28
2024-12-23Merge branch 'ps/build-sign-compare'Junio C Hamano1-2/+2
2024-12-10Merge branch 'bc/allow-upload-pack-from-other-people'Junio C Hamano1-4/+6
2024-12-06global: trivial conversions to fix `-Wsign-compare` warningsPatrick Steinhardt1-3/+2
2024-12-06global: mark code units that generate warnings with `-Wsign-compare`Patrick Steinhardt1-0/+1
2024-11-15Allow cloning from repositories owned by another userbrian m. carlson1-4/+6
2024-09-12environment: guard state depending on a repositoryPatrick Steinhardt1-0/+2
2024-08-13path: hide functions using `the_repository` by defaultPatrick Steinhardt1-51/+1
2024-08-13path: stop relying on `the_repository` in `worktree_git_path()`Patrick Steinhardt1-2/+7
2024-08-13path: stop relying on `the_repository` when reporting garbagePatrick Steinhardt1-3/+3
2024-08-13path: expose `do_git_common_path()` as `repo_common_pathv()`Patrick Steinhardt1-11/+11
2024-08-13path: expose `do_git_path()` as `repo_git_pathv()`Patrick Steinhardt1-10/+10
2024-06-14global: introduce `USE_THE_REPOSITORY_VARIABLE` macroPatrick Steinhardt1-0/+3
2024-05-30Merge branch 'ps/undecided-is-not-necessarily-sha1'Junio C Hamano1-53/+0
2024-05-06path: move `validate_headref()` to its only userPatrick Steinhardt1-53/+0
2024-05-06path: harden validation of HEAD with non-standard hashesPatrick Steinhardt1-1/+1
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-17fetch/clone: detect dubious ownership of local repositoriesJohannes Schindelin1-0/+2
2024-04-15Merge branch 'rs/apply-lift-path-length-limit'Junio C Hamano1-17/+0
2024-04-05path: remove mksnpath()René Scharfe1-17/+0
2024-02-07refs: introduce reftable backendPatrick Steinhardt1-1/+1
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
2023-07-17Merge branch 'cw/compat-util-header-cleanup'Junio C Hamano1-1/+0
2023-07-06Merge branch 'cw/strbuf-cleanup'Junio C Hamano1-0/+20
2023-07-05treewide: remove unnecessary includes for wrapper.hCalvin Wan1-1/+0
2023-06-21object-store-ll.h: split this header out of object-store.hElijah Newren1-1/+1
2023-06-12path: move related function to pathCalvin Wan1-0/+20
2023-04-11treewide: remove double forward declaration of read_in_fullElijah Newren1-0/+1
2023-03-21treewide: remove cache.h inclusion due to setup.h changesElijah Newren1-1/+1
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-21abspath.h: move absolute path functions from cache.hElijah Newren1-0/+1
2023-03-21treewide: be explicit about dependence on gettext.hElijah Newren1-0/+1
2023-03-17Merge branch 'jk/unused-post-2.39-part2'Junio C Hamano1-1/+2
2023-02-24mark "pointless" data pointers in callbacksJeff King1-1/+2
2023-02-23cache.h: remove dependence on hex.h; make other files include it explicitlyElijah Newren1-0/+1
2022-10-28adjust_shared_perm(): leave g+s alone when the group does not matterJunio C Hamano1-1/+7