]> git.ipfire.org Git - thirdparty/git.git/commit
config: expose `repo_config_clear()`
authorPatrick Steinhardt <ps@pks.im>
Tue, 13 Aug 2024 09:13:46 +0000 (11:13 +0200)
committerJunio C Hamano <gitster@pobox.com>
Tue, 13 Aug 2024 17:01:02 +0000 (10:01 -0700)
commit2ea853646807f36ccd8d5c8e30b146c33f4ca3eb
tree8af27c43fbadb5f624b5d2c2c9c684d086f1a3ab
parent909a2bfb1ff29df388be58b777c4c71186a3e90f
config: expose `repo_config_clear()`

While we already have `repo_config_clear()` as an alternative to
`git_config_clear()` that doesn't rely on `the_repository`, it is not
exposed to callers outside of the config subsystem. Do so.

Signed-off-by: Patrick Steinhardt <ps@pks.im>
Signed-off-by: Junio C Hamano <gitster@pobox.com>
config.c
config.h