diff options
author | Jeff Widman <jeff@jeffwidman.com> | 2021-04-16 02:49:08 -0700 |
---|---|---|
committer | GitHub <noreply@github.com> | 2021-04-16 11:49:08 +0200 |
commit | f464d193a29099a3bffef03244d3f0a301297525 (patch) | |
tree | 6813d299a6b0ba03187512f14d5479b73e384ff0 /remote.go | |
parent | 90952cac57713ae34394311de9a5705b8961243c (diff) | |
download | go-git-f464d193a29099a3bffef03244d3f0a301297525.tar.gz |
Minor doc fixes (#287)
Diffstat (limited to 'remote.go')
-rw-r--r-- | remote.go | 4 |
1 files changed, 2 insertions, 2 deletions
@@ -91,7 +91,7 @@ func (r *Remote) Push(o *PushOptions) error { // the remote was already up-to-date. // // The provided Context must be non-nil. If the context expires before the -// operation is complete, an error is returned. The context only affects to the +// operation is complete, an error is returned. The context only affects the // transport operations. func (r *Remote) PushContext(ctx context.Context, o *PushOptions) (err error) { if err := o.Validate(); err != nil { @@ -284,7 +284,7 @@ func (r *Remote) updateRemoteReferenceStorage( // no changes to be fetched, or an error. // // The provided Context must be non-nil. If the context expires before the -// operation is complete, an error is returned. The context only affects to the +// operation is complete, an error is returned. The context only affects the // transport operations. func (r *Remote) FetchContext(ctx context.Context, o *FetchOptions) error { _, err := r.fetch(ctx, o) |