summaryrefslogtreecommitdiffstats
path: root/repository.h
diff options
context:
space:
mode:
authorPatrick Steinhardt <ps@pks.im>2024-09-12 13:29:59 +0200
committerJunio C Hamano <gitster@pobox.com>2024-09-12 19:15:42 +0200
commitf2d70847bd21f00045700aebca023f9c07ba87ac (patch)
tree4c7a17ab682c5690475997d720449e5671dac069 /repository.h
parentenvironment: move `set_git_dir()` and related into setup layer (diff)
downloadgit-f2d70847bd21f00045700aebca023f9c07ba87ac.tar.xz
git-f2d70847bd21f00045700aebca023f9c07ba87ac.zip
environment: reorder header to split out `the_repository`-free section
Reorder the "environment.h" header such that declarations which are free from `the_repository` come before those which aren't. The new structure is now: - Defines for environment variable names. - Things which do not rely on a repository. - Things which do, including those that implicitly rely on a parsed repository. This includes for example variables which get populated when reading repository config. This will allow us to guard the last category of declarations with `USE_THE_REPOSITORY_VARIABLE`. Signed-off-by: Patrick Steinhardt <ps@pks.im> Signed-off-by: Junio C Hamano <gitster@pobox.com>
Diffstat (limited to '')
0 files changed, 0 insertions, 0 deletions