From f1fa96c7b7f548389c7560d3a1a0bce83be56c9f Mon Sep 17 00:00:00 2001 From: lhchavez Date: Sun, 5 Sep 2021 15:44:18 -0700 Subject: Add support for custom smart transports (#806) This change adds support for git smart transports. This will be then used to implement http, https, and ssh transports that don't rely on the libgit2 library. --- clone.go | 1 + 1 file changed, 1 insertion(+) (limited to 'clone.go') diff --git a/clone.go b/clone.go index 4921e12..b02a43e 100644 --- a/clone.go +++ b/clone.go @@ -85,6 +85,7 @@ func remoteCreateCallback( // clear finalizer as the calling C function will // free the remote itself runtime.SetFinalizer(remote, nil) + remote.repo.Remotes.untrackRemote(remote) return C.int(ErrorCodeOK) } -- cgit v1.2.3