aboutsummaryrefslogtreecommitdiffstats
path: root/options.go
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 /options.go
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>
Diffstat (limited to 'options.go')
-rw-r--r--options.go4
1 files changed, 2 insertions, 2 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