Closed
Description
I am trying to clone repo:
https://github.com/OctopusDeploy/install-octopus-cli-action
And seeing the error reference delta not found
git.PlainClone is failing
r, err := git.PlainClone("temp/"+repo_nwo, true, &git.CloneOptions{
SingleBranch: false,
URL: "https://github.com/" + repo_nwo,
Progress: os.Stdout,
})
Output:
Enumerating objects: 8163, done.
Counting objects: 100% (1465/1465), done.
Compressing objects: 100% (854/854), done.
Total 8163 (delta 811), reused 964 (delta 515), pack-reused 6698
reference delta not found
git.Clone is working fine
storage := memory.NewStorage()
r, err := git.Clone(storage, nil, &git.CloneOptions{
SingleBranch: false,
URL: "https://github.com/" + repo_nwo,
Progress: os.Stdout,
})
Output:
Enumerating objects: 8163, done.
Counting objects: 100% (1465/1465), done.
Compressing objects: 100% (856/856), done.
Total 8163 (delta 811), reused 962 (delta 513), pack-reused 6698
Metadata
Metadata
Assignees
Labels
No labels