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

### Reproduction steps Call `Configuration.BuildFrom(null)` on macOS. ### Expected behavior It should work fine. ### Actual behavior An exception is thrown because `git_config_find_programdata` does not work on macOS.

Please provide a way to send multiple [git push option](https://git-scm.com/docs/git-push#Documentation/git-push.txt--oltoptiongt) akin to the git command line `git push -o ci.skip` (aka `git push --push-option=ci.skip`). This is especially useful in a...

You can now disable the repository directory ownership validation by using the `GIT_OPT_SET_OWNER_VALIDATION` with `git_libgit2_opts()`: https://github.com/libgit2/libgit2/pull/6266 This option is not yet exposed in the C# bindings, e.g. in the `GlobalSettings`...

adds a switch to disable the Owner Validation, which (afaik) checks the filesystem permissions of the repository accessed. this check imho increases security in already wacky edge-cases - just educate...

- Add class wrapper other https://github.com/libgit2/libgit2/blob/main/include/git2/revwalk.h to allow reusing it for multiple traversals - Expose `git_revwalk_push_glob` / `git_revwalk_hide_glob` and `git_revwalk_push_ref` / `git_revwalk_hide_ref` which allows to select commits more efficiently -...

Somewhere in the 0.27.0-preview-0182 to 0.27.2 range, LibGit2Sharp broke creation of work trees. ### Reproduction steps Given a `Repository` object that points to a valid git repo with at least...

[PR 2026](https://github.com/libgit2/libgit2sharp/pull/2026/files) changed the lib from targeting netstandard2.0 to net6.0 and netframework472. What was the rationale behind this decision? This means I'm unable to include LibGit2Sharp in my netstandard2.0 library's...

When creating a patch diff using `Diff.Compare` I did not find any option to ignore white space. I think `CompareOptions` should contain an enum corresponding to the git diff settings:...

This is a rewrite of zoxiv's refdb backend PR #1482 ([their code here](https://github.com/Zoxive/libgit2sharp/commit/8efb8e9e0cf4ab0ac154739c19edc9f62fb1eb06)), since that targeted an ancient libgit2 with substantial API changes since then. # Changes due to libgit2:...

Hi Folks, This isn't a bug report but a question I have regarding calling the `RewriteHistory` method on the same commit. ``` public class Tests { Repository Repository; DirectoryInfo RepositoryDirectoryInfo;...