Skip to content
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
Expand Up @@ -32,7 +32,6 @@
</ItemGroup>

<ItemGroup>
<PackageReference Include="LibGit2Sharp" Version="0.30.0" />
<PackageReference Include="Microsoft.Windows.CsWin32" Version="0.3.106" />
Copy link

Copilot AI Dec 20, 2025

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Removing the LibGit2Sharp package reference will cause compilation errors. The codebase still has multiple references to LibGit2Sharp types that are not defined elsewhere:

  1. Files still importing LibGit2Sharp:

    • Models/GitRepositoryStatus.cs (line 4)
    • Models/GitStatusEntry.cs (line 6)
    • Models/RepositoryWrapper.cs (line 6)
    • Models/StatusCache.cs (line 7)
  2. LibGit2Sharp types still in use:

    • FileStatus enum: Used extensively in GitRepositoryStatus.cs, GitStatusEntry.cs, RepositoryWrapper.cs, and StatusCache.cs
    • SubmoduleStatus enum: Used in GitRepositoryStatus.cs, RepositoryWrapper.cs, and StatusCache.cs

Before removing this dependency, you need to either:

  • Define custom FileStatus and SubmoduleStatus enums to replace the LibGit2Sharp types
  • Remove all code that depends on these types
  • Replace the LibGit2Sharp implementation with an alternative approach

Copilot uses AI. Check for mistakes.
<PackageReference Include="Microsoft.Extensions.Hosting" Version="8.0.0" />
<PackageReference Include="Microsoft.Windows.CsWinRT" Version="2.0.4" />
Expand Down
Loading