cake-contrib / Cake_Git

Cake AddIn that extends Cake with Git features using LibGit2 and LibGit2Sharp
https://cakebuild.net/extensions/cake-git
Other
39 stars 64 forks source link

GitHasUncommitedChanges returns true for clean repo #172

Open lonix1 opened 1 year ago

lonix1 commented 1 year ago

I'm upgrading a project from .NET v6 to v7. I've updated all my references to v7, and I updated cake to v3.0.0.

When I run git status on the repo, I get working tree clean. But when my cake frosting runs, Context.GitHasUncommitedChanges(repo) returns true - which is incorrect.

Did someone else get this error, or know what could cause it?