[GSOC PATCH v2 0/2] Stop depending on `the_repository` for core.attributesfile

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



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





[Index of Archives]     [Linux Kernel Development]     [Gcc Help]     [IETF Annouce]     [DCCP]     [Netdev]     [Networking]     [Security]     [V4L]     [Bugtraq]     [Yosemite]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Linux RAID]     [Linux SCSI]     [Fedora Users]

  Powered by Linux