diff options
| author | Patrick Steinhardt <ps@pks.im> | 2024-08-13 11:13:46 +0200 |
|---|---|---|
| committer | Junio C Hamano <gitster@pobox.com> | 2024-08-13 10:01:02 -0700 |
| commit | 2ea853646807f36ccd8d5c8e30b146c33f4ca3eb (patch) | |
| tree | 8af27c43fbadb5f624b5d2c2c9c684d086f1a3ab /config.h | |
| parent | 909a2bfb1ff29df388be58b777c4c71186a3e90f (diff) | |
| download | git-2ea853646807f36ccd8d5c8e30b146c33f4ca3eb.tar.xz | |
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>
Diffstat (limited to 'config.h')
| -rw-r--r-- | config.h | 1 |
1 files changed, 1 insertions, 0 deletions
@@ -651,6 +651,7 @@ int git_config_get_string_multi(const char *key, * Resets and invalidates the config cache. */ void git_config_clear(void); +void repo_config_clear(struct repository *repo); /** * Allocates and copies the retrieved string into the `dest` parameter for |
