Join GitHub today
GitHub is home to over 50 million developers working together to host and review code, manage projects, and build software together.
Sign upGitHub is where the world builds software
Millions of developers and companies build, ship, and maintain their software on GitHub — the largest and most advanced development platform in the world.
Reproduction steps
This reproduces with any error handled by Ensure.HandleError, but my exact repro steps are:
Looking at the error message, the error appears to be thrown from here.
Expected behavior
Exception is thrown and the
ex.Data["libgit2.category"]is set to a proper value. In my case it would beGitErrorCategory.Net.Actual behavior
Exception is thrown, but the
ex.Data["libgit2.category"]has value -1.Version of LibGit2Sharp (release number or SHA1)
0.26.2
Operating system(s) tested; .NET runtime tested
Windows 10 1909; NET 4.6.1