Tuesday, November 12, 2019

LibGit2Sharp.NotFoundException: Object not found - no matching loose object

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()


Thursday, April 11, 2019

Powershell vs Golang: what is better?



Hi, everyone.

In this post, I want to share my opinion and result of the test which compares PowerShell with golang.