-
Notifications
You must be signed in to change notification settings - Fork 695
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
How to list all tags? #298
Comments
Also |
This is a bug. The generated code didn't correctly figure out the return value of that C function so I'll start a fix for that. Once that's fixed though your code will need some modifications though to work correctly.
This is weird because tags are treated completely different in libgit2 depending on whether or not they are annotated. Which is exactly why you are getting that A non-annotated tag is returning the OID for the commit it's pointing to so you're telling the system to get a tag but asking for a commit instead. So you can only use It's weird, I know. I'm working on making it better right now :) |
It seems that there's an error in the code above:
|
I'm getting the ODB error for non-annotated tags still (version 0.4.1) |
This is working nicely for me:
|
Hi!
This code throws error:
Repository repo is required.
.The text was updated successfully, but these errors were encountered: