Skip to content
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

Expose GIT_DIRECTION constants; ability to remove refspecs #938

Open
jtobiska opened this issue Sep 6, 2019 · 0 comments
Open

Expose GIT_DIRECTION constants; ability to remove refspecs #938

jtobiska opened this issue Sep 6, 2019 · 0 comments

Comments

@jtobiska
Copy link

jtobiska commented Sep 6, 2019

I've recently run into some trouble working with fetch/pull refspecs in pygit2 due to libgit2 features that haven't been exposed to python. The main issues I've encountered are:

  • There's currently no way to remove fetch/pull refspecs
  • The GIT_DIRECTION_FETCH/GIT_DIRECTION_PUSH constants aren't exposed to python (which are used by the Refspec type returned by get_refspec())

I found this old issue (#255) where @jdavid referenced these features, but it looks like those specific ones didn't make it in to pull request that was ultimately merged.

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

No branches or pull requests

1 participant