aboutsummaryrefslogtreecommitdiffstats
path: root/repository.go
diff options
context:
space:
mode:
authorSanskar Jaiswal <jaiswalsanskar078@gmail.com>2023-04-13 12:49:53 +0530
committerSanskar Jaiswal <jaiswalsanskar078@gmail.com>2023-05-04 11:53:09 +0530
commitc2a93140c4d2a7df5666c7e436d8f1cb337a579d (patch)
tree60e534a7115b8a675c2ed4b39c8219643622b023 /repository.go
parentda73c5f950fb399611e3eb608f6ee99f23eb53b5 (diff)
downloadgo-git-c2a93140c4d2a7df5666c7e436d8f1cb337a579d.tar.gz
plumbing/transport: add ProxyOptions to specify proxy details
Signed-off-by: Sanskar Jaiswal <jaiswalsanskar078@gmail.com>
Diffstat (limited to 'repository.go')
-rw-r--r--repository.go1
1 files changed, 1 insertions, 0 deletions
diff --git a/repository.go b/repository.go
index be5f140..287b597 100644
--- a/repository.go
+++ b/repository.go
@@ -873,6 +873,7 @@ func (r *Repository) clone(ctx context.Context, o *CloneOptions) error {
RemoteName: o.RemoteName,
InsecureSkipTLS: o.InsecureSkipTLS,
CABundle: o.CABundle,
+ ProxyOptions: o.ProxyOptions,
}, o.ReferenceName)
if err != nil {
return err