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

git_revparse_single() isn't exposed #167

Closed
jeffstyr opened this issue Apr 17, 2016 · 4 comments
Closed

git_revparse_single() isn't exposed #167

jeffstyr opened this issue Apr 17, 2016 · 4 comments

Comments

@jeffstyr
Copy link

It doesn't seem that the functionality of git_revparse_single() is available anywhere; it's used to find an object using any of the various formats that git allows for specifying revisions (e.g, "abc123^^", "v0.1.0:foo/bar/baz.c", "HEAD^{commit}", "some_branch").

See its documentation, and several examples of its usage here: http://libgit2.github.com/docs/guides/101-samples/

This would be handy to have.

@jacquesg
Copy link
Owner

I've actually started working on this quite some time ago, just never finished it. Will see what I can do.

https://github.com/jacquesg/p5-Git-Raw/commits/jacquesg/revparse

@jeffstyr
Copy link
Author

Oh excellent--thanks much. I haven't done any XS programming so it would have taken me a while to figure out.

@jacquesg
Copy link
Owner

The functionality was added in #124.

@jeffstyr
Copy link
Author

Thanks much!

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

2 participants