diff options
author | Patrick Steinhardt <ps@pks.im> | 2024-09-12 13:29:59 +0200 |
---|---|---|
committer | Junio C Hamano <gitster@pobox.com> | 2024-09-12 19:15:42 +0200 |
commit | f2d70847bd21f00045700aebca023f9c07ba87ac (patch) | |
tree | 4c7a17ab682c5690475997d720449e5671dac069 /repository.h | |
parent | environment: move `set_git_dir()` and related into setup layer (diff) | |
download | git-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