Skip to content

cache: fix misnaming of git_cache_free#4992

Merged
pks-t merged 1 commit intolibgit2:masterfrom
pks-t:pks/cache-dispose
Feb 21, 2019
Merged

cache: fix misnaming of git_cache_free#4992
pks-t merged 1 commit intolibgit2:masterfrom
pks-t:pks/cache-dispose

Conversation

@pks-t
Copy link
Copy Markdown
Member

@pks-t pks-t commented Feb 20, 2019

Functions that free a structure's contents but not the structure
itself shall be named dispose in the libgit2 project, but the
function git_cache_free does not follow this naming pattern.

Fix this by renaming it to git_cache_dispose and adjusting all
callers to make use of the new name.

Functions that free a structure's contents but not the structure
itself shall be named `dispose` in the libgit2 project, but the
function `git_cache_free` does not follow this naming pattern.

Fix this by renaming it to `git_cache_dispose` and adjusting all
callers to make use of the new name.
@pks-t pks-t force-pushed the pks/cache-dispose branch from cf09071 to bbdcd45 Compare February 21, 2019 12:37
@pks-t
Copy link
Copy Markdown
Member Author

pks-t commented Feb 21, 2019

Rebased to fix semantic conflict with dd45539

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant