summaryrefslogtreecommitdiff
path: root/builtin/commit.c
diff options
context:
space:
mode:
authorLibravatar Patrick Steinhardt <ps@pks.im>2021-04-19 14:31:08 +0200
committerLibravatar Junio C Hamano <gitster@pobox.com>2021-04-19 14:16:59 -0700
commitc62a999c6e595692ee3bd8ff1e9435491872a79c (patch)
treebbda6898b85ce5893693498835ed11fd2681ef9a /builtin/commit.c
parentThe eighth batch (diff)
downloadtgif-c62a999c6e595692ee3bd8ff1e9435491872a79c.tar.xz
config: rename `git_etc_config()`
The `git_etc_gitconfig()` function retrieves the system-level path of the configuration file. We're about to introduce a way to override it via an environment variable, at which point the name of this function would start to become misleading. Rename the function to `git_system_config()` as a preparatory step. While at it, the function is also refactored to pass memory ownership to the caller. This is done to better match semantics of `git_global_config()`, which is going to be introduced in the next commit. Signed-off-by: Patrick Steinhardt <ps@pks.im> Signed-off-by: Junio C Hamano <gitster@pobox.com>
Diffstat (limited to 'builtin/commit.c')
0 files changed, 0 insertions, 0 deletions