Add git_reset() #669

Merged
merged 1 commit into from Jun 7, 2012

Conversation

Projects
None yet
3 participants
Member

nulltoken commented May 6, 2012

Add git_reset(git_repository *, const git_object *, git_reset_type)

Currently supports GIT_RESET_SOFT and GIT_RESET_MIXED modes.

This pull request passes (merged a898b869 into 49ac5ac).

This pull request passes (merged b5deb100 into 9b62e40).

This pull request passes (merged 552deecd into b72969e).

Owner

vmg commented May 14, 2012

@arrbee Can you find time to look into this?

This pull request fails (merged 24c17015 into 4c977a6).

This pull request fails (merged a22a9bfe into 4c977a6).

This pull request passes (merged 8ec50c82 into 4c977a6).

src/reset.h
@@ -0,0 +1,12 @@
@vmg

vmg Jun 7, 2012

Owner

Heuh is this needed?

@nulltoken

nulltoken Jun 7, 2012

Member

No. This was rather a placeholder. I'm going to drop it.

Owner

vmg commented Jun 7, 2012

Ok, this looks like a nice first step. Let's get it merged.

Add git_reset()
Currently supports Soft and Mixed modes.

vmg added a commit that referenced this pull request Jun 7, 2012

@vmg vmg merged commit 6c08e69 into libgit2:development Jun 7, 2012

This pull request passes (merged edebcef into cddb8ef).

phatblat pushed a commit to phatblat/libgit2 that referenced this pull request Sep 13, 2014

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