libgit2sharp icon indicating copy to clipboard operation
libgit2sharp copied to clipboard

Git + .NET = ❤

Results 255 libgit2sharp issues
Sort by recently updated
recently updated
newest added

# Background The `LibGit2SharpException` class has a constructor overload that takes two parameters and attempts to call `String.Format` to convert the values into a single string. Unfortunately if the provided...

The windows-2019 test runner [has been deprecated](https://github.com/actions/runner-images/issues/12045) as of 2025-06-30. Running these tests currently results in an error in GitHub Actions

If implementing a custom `RpcSmartSubtransport` that throws an exception during the read or write operation, the error message is ignored in the `SmartSubtransportStream` because it is not a `NativeException`. Related...

**Overview** Publishing with `dotnet publish -p:PublishAot=true` (NativeAOT) currently leaves the libgit2 native DLL/so/dylib in the output folder, preventing a true single-file distribution. If LibGit2Sharp exposed `NativeLibrary` / `DirectPInvoke` metadata to...

I am getting the following exception when pushing to a running git daemon (with receive-pack enabled). the exception only occurs when the daemon is running on a separate machine, not...