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

Already on GitHub? Sign in to your account

Implement repository.reset, with tests #292

Closed
wants to merge 1 commit into
from

Conversation

Projects
None yet
2 participants
Contributor

oscarsj commented Nov 29, 2013

This patch makes the function git_reset from libgit available to python repository class:
repository.reset(oid, reset_type)
Includes three tests to test the different types of git reset modes (hard, soft, mixed)

git_reset accepts a tag object too, so use GIT_OBJ_ANY instead

Member

jdavid commented Nov 30, 2013

There are conflicts against the master branch, please rebase.

@oscarsj oscarsj closed this Dec 2, 2013

@oscarsj oscarsj deleted the oscarsj:implement-reset branch Dec 2, 2013

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