
Hi Everyone.
In this article we will talk about very old bug in GIT:
LibGit2Sharp.NotFoundException: Object not found - no matching loose object (0000000000000000000000000000000000000000)
at LibGit2Sharp.Core.Ensure.HandleError(Int32 result)
at LibGit2Sharp.Core.Proxy.git_checkout_tree(RepositorySafeHandle repo, ObjectId treeId, GitCheckoutOpts& opts)
at LibGit2Sharp.Repository.CheckoutTree(Tree tree, IList`1 paths, IConvertableToGitCheckoutOpts opts)
at LibGit2Sharp.Repository.Checkout(Tree tree, CheckoutOptions checkoutOptions, String refLogHeadSpec)
at LibGit2Sharp.Repository.Checkout(String committishOrBranchSpec, CheckoutOptions options)
at Microsoft.TeamFoundation.DistributedTask.Task.Internal.Core.GitHelper.SyncAndCheckout(ITaskEndpoint endpoint, String rootPath, Boolean cleanRepository, String sourceBranch, String sourceVersion, String& commit, CancellationToken cancellationToken, Boolean checkoutSubmodules)
at Microsoft.TeamFoundation.DistributedTask.Plugin.Build.TfsGitSourceProvider.<>c__DisplayClass3_0.<PrepareRepositoryAsync>b__0()