-
Notifications
You must be signed in to change notification settings - Fork 64
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
Access violation calling GitHasUncommitedChanges #145
Comments
Cake.Git 1.0.1 was released already in March 2021, therefore this can't be related to an update of Cake.Git. You mention it worked last week. What have you changed? Have you updated the addin or Cake? Have you pinned addin and Cake version? Did you run any OS updates? Do you get the error while running it on the same repository as last week? Do you get the same error on other repositories? |
Also this is how I reference the addin:
|
Looks like these might be related: libgit2/libgit2sharp#1711 |
I'm not using this through cake, but I'm using libgit2sharp directly. I also have this issue that since last week suddenly access violations happen when calling RetrieveStatus() of libgit.
As you can see, not much happening here on my part. It just dies. If you find any solution or workaround I'd be interested to know. |
FY, we're seeing the same error when running integration tests via CI of this addin:
https://ci.appveyor.com/project/cakecontrib/cake-git/builds/40242817#L702 |
It looks like updating to the latest LibGit2Sharp 0.27.0-preview fixes the issue libgit2/libgit2sharp#1711 (comment) |
@gmkado @Xcone This has been fixed with Cake.Git v1.1.0 #addin "nuget:?package=Cake.Git&version=1.1.0" |
This was working fine last week, not sure what changed, but calling GitHasUncommitedChanges on v1.0.1 throws the following exception:
The text was updated successfully, but these errors were encountered: