Comments (8)
Hmm... That is strange. I'll take a look!
from libgit2sharp.
Ok. So we aren't quite handling tag listing properly right now. I need to actually lookup the tag using the reference instead of just looking at what that reference points too (which is obviously a commit in most cases). It also looks like tag listing is actually getting support in libgit2 soon based on this PR.
from libgit2sharp.
I think I nailed the root cause.
Git handles two different kinds of tags (annotated and lightweight).
- Lightweight tags are nothing more than a direct reference to an object (commit, tree, ...)
- Annotated tags are a combination of a tag-object stored in the git object database and a direct reference to this tag-object
@gorbach :
Currently, the "null" tags that you encounter are Lightweight tags.
Thanks for spotting this. It's a very nice issue :) We're working on it! Fixing this will require some slights changes to the API.
from libgit2sharp.
Yes, you right. This issue is caused by lightweight tags.
from libgit2sharp.
We've added support for lightweight tags.
Would you please check that nulltoken/libgit2sharp@1b73c29 indeed fixes the issue?
from libgit2sharp.
Thanks! Merged your fix, works very well. Waiting for merge in main branch.
from libgit2sharp.
Quite glad it works as expected :)
Should be merged by tomorrow.
from libgit2sharp.
This fix has been merged to libgit2/master. Thanks for having pointed this issue out :)
from libgit2sharp.
Related Issues (20)
- Unable to clone git repo while using this library. HOT 9
- `LibGit2SharpException` when cloning repository within a Docker container HOT 9
- Running libgit2sharp on Ubuntu 22.04 Arm64 got `LibGit2Sharp.LibGit2SharpException: the SSL certificate is invalid` HOT 12
- Getting exception "too many redirects or authentication replays" HOT 2
- ObjectDatabase.Write<T>(Stream stream...) overload does not respect T
- .NET Standard support? HOT 4
- Unable to push to Azure DevOps repository when project name contains space HOT 1
- CloneOptions does not contains a definition of CredentialsProvider,,, HOT 12
- Performance regression when reading files from the tree in parallel HOT 6
- Security: Update to libgit2 1.7.2 HOT 3
- unexpected EOF when trying to fetch from remote
- Please consider adding AOT support for .Diff.Compare<T>() HOT 19
- How to checkout a specific folder from repository?
- LibGit2SharpException: could not find appropriate mechanism for credentials HOT 5
- FetchOptions in CloneOptions is readonly and has not been set in constructor !
- Git Fetch fails with could not decrypt tls message when TLS 1.3 is allowed
- git 2.40.0 index.skipHash incompatible with libgit2sharp (please update libgit2 from 1.7.1 to 1.8.0)
- the command pull take the class Repository instead of the interface like other commands
- Security Vulnerabilities in git2-106a5f2.dll: Non-Compliance with Secure Hashing and Compiler Security Best Practices HOT 2
- Request - upgrade to libgit2 1.7.2 HOT 1
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from libgit2sharp.