diff options
author | Josh Steadmon <steadmon@google.com> | 2025-01-29 13:50:43 -0800 |
---|---|---|
committer | Junio C Hamano <gitster@pobox.com> | 2025-01-29 15:06:50 -0800 |
commit | d76eb0dcccb19d2f85924a4be177ae76126bf5d3 (patch) | |
tree | 73f9e55cfdc11800dfe3138ea0e656119eba0482 /contrib/examples/git-svnimport.perl | |
parent | e7f8bf125c078004232e254e71b97226c4fed81b (diff) |
libgit-sys: also export some config_set functions
In preparation for implementing a higher-level Rust API for accessing
Git configs, export some of the upstream configset API via libgitpub and
libgit-sys. Since this will be exercised as part of the higher-level API
in the next commit, no tests have been added for libgit-sys.
While we're at it, add git_configset_alloc() and git_configset_free()
functions in libgitpub so that callers can manage config_set structs on
the heap. This also allows non-C external consumers to treat config_sets
as opaque structs.
Co-authored-by: Calvin Wan <calvinwan@google.com>
Signed-off-by: Calvin Wan <calvinwan@google.com>
Signed-off-by: Josh Steadmon <steadmon@google.com>
Signed-off-by: Junio C Hamano <gitster@pobox.com>
Diffstat (limited to 'contrib/examples/git-svnimport.perl')
0 files changed, 0 insertions, 0 deletions