Skip to content

Conversation

ethomson
Copy link
Member

While looking at the documentation, it became clear that the git_config_entry function was strange...

This is a leftover leaky abstraction. If consumers aren't meant to call the free function then they shouldn't see the free function. Move it out into a git_config_backend_entry that is, well, produced by the config backends.

This makes our code messier but is an improvement for consumers.

This is a leftover leaky abstraction. If consumers aren't meant to
_call_ the `free` function then they shouldn't _see_ the free function.
Move it out into a `git_config_backend_entry` that is, well, produced by
the config backends.

This makes our code messier but is an improvement for consumers.
@ethomson ethomson force-pushed the ethomson/config_entry branch from bd72fd5 to aa093c4 Compare April 29, 2024 21:58
@ethomson ethomson merged commit 9f34061 into main Sep 25, 2024
@ethomson ethomson deleted the ethomson/config_entry branch September 25, 2024 09:24
@ethomson ethomson added cleanup and removed feature labels Oct 19, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant