bugfix: HTTPS Clone fails with remote pointer not found using Go transport (#836) #842

Merged
codexetreme merged 10 commits from bugfix/error_while_cloning into main 2021-10-23 12:33:11 -05:00
1 changed files with 1 additions and 0 deletions
Showing only changes of commit 563a351424 - Show all commits

View File

@ -105,6 +105,7 @@ func TestCloneWithExternalHTTPUrWithLocalServer(t *testing.T) {
// clone the repo
url := serv.URL + "/.git"
path, err := ioutil.TempDir("", "git2go")
defer os.RemoveAll(path)
_, err = Clone(url, path, &CloneOptions{})
if err != nil {
t.Fatal("cannot clone remote repo via http, error: ", err)