Skip to content

refspec: rename git_refspec__free to git_refspec__dispose#4709

Merged
ethomson merged 1 commit intolibgit2:masterfrom
pks-t:pks/refspec-dispose
Jun 29, 2018
Merged

refspec: rename git_refspec__free to git_refspec__dispose#4709
ethomson merged 1 commit intolibgit2:masterfrom
pks-t:pks/refspec-dispose

Conversation

@pks-t
Copy link
Member

@pks-t pks-t commented Jun 29, 2018

Since commit 630a673 (refspec: add public parsing api, 2018-02-07), we
now have two functions git_refspec_free and git_refspec__free. The
difference is that the first one will free the structure itself, while
the second one will only free the structure's contents. Use our new
dispose naming pattern for the latter function to help avoid
confusion.

Since commit 630a673 (refspec: add public parsing api, 2018-02-07), we
now have two functions `git_refspec_free` and `git_refspec__free`. The
difference is that the first one will free the structure itself, while
the second one will only free the structure's contents. Use our new
`dispose` naming pattern for the latter function to help avoid
confusion.
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.

2 participants