libgit2sharp
libgit2sharp copied to clipboard
Git + .NET = ❤
### Reproduction steps In a repository run: ``` repo.Diff.Compare(repo.Head.Tip.Tree, DiffTargets.WorkingDirectory) // Working fine: // repo.Diff.Compare(repo.Head.Tip.Tree, DiffTargets.Index | DiffTargets.WorkingDirectory) // repo.Diff.Compare(repo.Head.Tip.Tree, DiffTargets.Index) ``` ### Expected behavior List of changed files. ###...
Am trying list down the Remote Branches in my application. am getting **No error message has been provided by the native library** while cloning. its only happening on the few...
### Reproduction steps - In branch A with master as remove we have a new file untracked. - In master we have added the same file already and it's part...
Hello, I'm using LibGit2Sharp and get the 'The filename or extension is too long' error when I run merge command. `repository.Merge(branch, new Signature(_credentials.Username, $@"{_credentials.Username}@gmail.com", DateTime.Now), _mergeOptions);` I've set enabling long...
### Reproduction steps On Windows 10 (or any windows OS that supports long file paths, with Enable Win32 Long Paths enabled) Create a file path more than 260 characters long...
How can we commit changes to github using the access token generated using github Oauth. I have got the access token and able to clone the repository using the code...
### Reproduction steps 1. Create a file and commit 2. Delete the file and commit 3. Query the log for that specific file: `IEnumerable logs = repo.Commits.QueryBy(fileName);` ### Expected behavior...
### Reproduction steps 1): Clone a large repo 2): run this function on that repo with some random file: ``` public IEnumerable TestSlow(string filename) { using (var repo = new...
Allows for reading and writing the branch option from .gitmodules requested a while ago in #1301 submodule.Branch can be read (string) and set (string) to change the branch option in...
Hey guys, I've got a repo set up at bitbucket. This repository is initialized locally with a reference to the http link provided from the site. I am using LibGit2Sharp...