diff options
author | Glen Choo <chooglen@google.com> | 2023-06-28 19:26:29 +0000 |
---|---|---|
committer | Junio C Hamano <gitster@pobox.com> | 2023-06-28 14:06:40 -0700 |
commit | 908857a9f8a63c7d8fee1bd5f52b1aa1cf3434de (patch) | |
tree | f178e1b38ffac07467950f959689028745fd365f /builtin/commit.c | |
parent | f6c213a0cbf7071c845eef0afa4bc5f9c4883e51 (diff) |
config: add kvi.path, use it to evaluate includes
Include directives are evaluated using the path of the config file. To
reduce the dependence on "config_reader.source", add a new
"key_value_info.path" member and use that instead of
"config_source.path". This allows us to remove a "struct config_reader
*" field from "struct config_include_data", which will subsequently
allow us to remove "struct config_reader" entirely.
Signed-off-by: Glen Choo <chooglen@google.com>
Signed-off-by: Junio C Hamano <gitster@pobox.com>
Diffstat (limited to 'builtin/commit.c')
0 files changed, 0 insertions, 0 deletions