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

When running `new Repository(dir)` on a sha256 enabled repo, it fails with a `LibGit2SharpException` stating _unknown object format 'sha256'_. see: https://git-scm.com/docs/hash-function-transition ``` at LibGit2Sharp.Core.Ensure.HandleError(Int32 result) in /_/LibGit2Sharp/Core/Ensure.cs:line 154 at LibGit2Sharp.Repository..ctor(String...

I'm developing a Visual Studio 2022 extension that uses LibGit2Sharp to retrieve Git repository information (such as the current branch name) and to manage open documents based on the active...

When using libgit2 on repos on a DevDrive in Windows11, it gets to a crawl. Really extremely slow, but it seems to stem from libgit itself, not sure yet. Same...

Please add support for server push options parameter. This parameter is equivalent to the value set in the git command line "--push-options" Currentley the C library libgit2 already support server...

``` using var repo = new Repository(repoPath); var remote = repo.Network.Remotes["origin"]?.Url; ``` Remote will contain both the user & the token used in cloning. `https://git-user:[email protected]/orgname/reponame.git`

### Summary When using `libgit2sharp` to push an initial commit that includes a `.github` folder (with valid contents), the push fails silently — no error is thrown, and the remote...

We have this [code](https://github.com/projectkudu/kudu/blob/ceeb2861178692d9aee7e23e23aef7efef6ca651/Kudu.Core/SourceControl/Git/LibGit2SharpRepository.cs#L234-L237) below where we remove remote (origin) before adding a new one. From time to time, Add would fail with **remote already exists**. Is there an issue...

For CI processes we have repositories that are cloned with "--filter=blob:none". Also we have a repository cache folder that we set via ".git/objects/info/alternates". When we try to access the blob...

Hi, I try to use LibGit2Sharp within my .NetFw 4.8 Project and stuck with an error when trying to use the lib. It seems to not be able to load/read...