I'm having a exception when trying to clone a repository, change and than commit. I tried use the command "fetch --unshallow" after cloning, but it didn't work.
LibGit2Sharp.NotFoundException: 'could not find 'D:/Testclone/clshifts1.dat' to stat: The system cannot find the file specified.
The exception is in this line Repository.Index.Add(item); for a file that is missing.
stack trace:
at LibGit2Sharp.Core.Ensure.HandleError(Int32 result) at LibGit2Sharp.Core.Ensure.ZeroResult(Int32 result) at LibGit2Sharp.Core.Proxy.git_index_add_bypath(IndexHandle index, FilePath path) at LibGit2Sharp.Index.Add(String pathInTheWorkdir)
I'm using the version 0.26.0.0 and .NET Framework 4.6.1. Windows 10
I'm having a exception when trying to clone a repository, change and than commit. I tried use the command "fetch --unshallow" after cloning, but it didn't work.
LibGit2Sharp.NotFoundException: 'could not find 'D:/Testclone/clshifts1.dat' to stat: The system cannot find the file specified.
The exception is in this line
Repository.Index.Add(item);
for a file that is missing.stack trace:
at LibGit2Sharp.Core.Ensure.HandleError(Int32 result) at LibGit2Sharp.Core.Ensure.ZeroResult(Int32 result) at LibGit2Sharp.Core.Proxy.git_index_add_bypath(IndexHandle index, FilePath path) at LibGit2Sharp.Index.Add(String pathInTheWorkdir)
I'm using the version 0.26.0.0 and .NET Framework 4.6.1. Windows 10![image](https://user-images.githubusercontent.com/17046851/195173670-7da29673-dc30-48a0-8772-27b39fc2d878.png)