]> git.99rst.org Git - git.git/commit
config: make git_configset_get_string_tmp() private
authorDerrick Stolee <redacted>
Mon, 7 Feb 2022 21:33:03 +0000 (21:33 +0000)
committerJunio C Hamano <redacted>
Tue, 8 Feb 2022 17:49:21 +0000 (09:49 -0800)
commit3ce113827287079dced9aaf9c5d1e1734ecaa265
tree2797f501784b74258d73db337ff4bb50ad074c4d
parent53255916b7c47a0d360841477ed9ffbc4b370284
config: make git_configset_get_string_tmp() private

This method was created in f1de981e8 (config: fix leaks from
git_config_get_string_const(), 2020-08-14) but its only use was in the
repo_config_get_string_tmp() method, also declared in config.h and
implemented in config.c. Since this is otherwise unused and is a very
similar implementation to git_configset_get_value(), let's remove this
declaration.

Signed-off-by: Derrick Stolee <redacted>
Reviewed-by: Elijah Newren <redacted>
Signed-off-by: Junio C Hamano <redacted>
config.c
config.h
git clone https://git.99rst.org/PROJECT