aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorcui fliter <imcusg@gmail.com>2022-09-22 16:27:41 +0800
committerGitHub <noreply@github.com>2022-09-22 10:27:41 +0200
commitf9b2cce5c9e6510fefb21ce54c07b59e83b6da8f (patch)
tree38c88fb95b7e8e9dcc589276d15c7ce47faaaeda
parent07b3c3d0d9f128bca9b788fb1e77eaec2dd78ce6 (diff)
downloadgo-git-f9b2cce5c9e6510fefb21ce54c07b59e83b6da8f.tar.gz
*: fix some typos (#567)
Signed-off-by: cui fliter <imcusg@gmail.com> Signed-off-by: cui fliter <imcusg@gmail.com>
-rw-r--r--options.go4
-rw-r--r--plumbing/transport/common.go2
2 files changed, 3 insertions, 3 deletions
diff --git a/options.go b/options.go
index d6f0e9f..6480035 100644
--- a/options.go
+++ b/options.go
@@ -218,7 +218,7 @@ type PushOptions struct {
// Force allows the push to update a remote branch even when the local
// branch does not descend from it.
Force bool
- // InsecureSkipTLS skips ssl verify if protocal is https
+ // InsecureSkipTLS skips ssl verify if protocol is https
InsecureSkipTLS bool
// CABundle specify additional ca bundle with system cert pool
CABundle []byte
@@ -607,7 +607,7 @@ func (o *CreateTagOptions) loadConfigTagger(r *Repository) error {
type ListOptions struct {
// Auth credentials, if required, to use with the remote repository.
Auth transport.AuthMethod
- // InsecureSkipTLS skips ssl verify if protocal is https
+ // InsecureSkipTLS skips ssl verify if protocol is https
InsecureSkipTLS bool
// CABundle specify additional ca bundle with system cert pool
CABundle []byte
diff --git a/plumbing/transport/common.go b/plumbing/transport/common.go
index a9ee2ca..a2a78f0 100644
--- a/plumbing/transport/common.go
+++ b/plumbing/transport/common.go
@@ -112,7 +112,7 @@ type Endpoint struct {
Port int
// Path is the repository path.
Path string
- // InsecureSkipTLS skips ssl verify if protocal is https
+ // InsecureSkipTLS skips ssl verify if protocol is https
InsecureSkipTLS bool
// CaBundle specify additional ca bundle with system cert pool
CaBundle []byte