cake-contrib / Cake_Git

Cake AddIn that extends Cake with Git features using LibGit2 and LibGit2Sharp

Home Page:https://cakebuild.net/extensions/cake-git

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

GitHasUncommitedChanges returns true for clean repo

lonix1 opened this issue · comments

commented

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?