Skip to content

Add index.Clear() to clear the index object #463

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 1 commit into from
Jan 4, 2019
Merged

Conversation

Nivl
Copy link
Contributor

@Nivl Nivl commented Oct 25, 2018

Simple PR that adds index.Clear(), which does nothing more than calling git_index_clear.

@lhchavez
Copy link
Contributor

would it be possible to add a test for this?

@carlosmn
Copy link
Member

carlosmn commented Jan 4, 2019

It's just wrapping the call the most straightforward way so it's fine without a test. Thanks.

@carlosmn carlosmn merged commit c27981c into libgit2:master Jan 4, 2019
@Nivl Nivl deleted the patch-1 branch May 6, 2019 22:58
lhchavez pushed a commit that referenced this pull request Aug 15, 2020
Add index.Clear() to clear the index object

(cherry picked from commit c27981c)
lhchavez pushed a commit that referenced this pull request Aug 16, 2020
Add index.Clear() to clear the index object

(cherry picked from commit c27981c)
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.

3 participants