This series moves access to the "core.attributesfile" configuration into `repo_settings`, eliminating the dependency on the global `the_repository` instance. It also updates the relevant attribute-related code paths to use a repository-scoped accessor. This is a part of the ongoing effort towards libification of git. Ayush Chandekar (2): environment: move access to "core.attributesfile" into repo settings attr: use `repo_settings_get_attributesfile_path()` and update callers attr.c | 28 ++++++++++------------------ attr.h | 7 +++---- builtin/check-attr.c | 2 +- builtin/var.c | 2 +- config.c | 5 ----- environment.c | 1 - environment.h | 1 - repo-settings.c | 11 +++++++++++ repo-settings.h | 3 +++ 9 files changed, 29 insertions(+), 31 deletions(-) -- 2.48.GIT