diff options
author | Patrick Steinhardt <ps@pks.im> | 2019-06-21 12:53:43 +0200 |
---|---|---|
committer | Patrick Steinhardt <ps@pks.im> | 2019-07-11 10:58:10 +0200 |
commit | 54d350e05367a88874c291c6aa2c1801c5062031 (patch) | |
tree | bf438e95c8b2a2b5fc65d60c0d900961d3628ee4 /src/config_parse.h | |
parent | 76749dfbbd07122d9a920fbcf59df6a122ade085 (diff) | |
download | libgit2-54d350e05367a88874c291c6aa2c1801c5062031.tar.gz |
config_file: embed file in diskfile parse data
The config file code needs to keep track of the actual
`git_config_file` structure, as it not only contains the path
of the current configuration file, but it also keeps tracks of
all includes of that file. Right now, we keep track of that
structure via the `git_config_parser`, but as that's supposed to
be a backend generic implementation of configuration parsing it's
a layering violation to have it in there.
Switch over the config file backend to use its own config file
structure that's embedded in the backend parse data. This allows
us to switch over the generic config parser to avoid using the
`git_config_file` structure.
Diffstat (limited to 'src/config_parse.h')
0 files changed, 0 insertions, 0 deletions