aboutsummaryrefslogtreecommitdiffstats
path: root/worktree.go
diff options
context:
space:
mode:
authorJeff Widman <jeff@jeffwidman.com>2021-04-16 02:49:08 -0700
committerGitHub <noreply@github.com>2021-04-16 11:49:08 +0200
commitf464d193a29099a3bffef03244d3f0a301297525 (patch)
tree6813d299a6b0ba03187512f14d5479b73e384ff0 /worktree.go
parent90952cac57713ae34394311de9a5705b8961243c (diff)
downloadgo-git-f464d193a29099a3bffef03244d3f0a301297525.tar.gz
Minor doc fixes (#287)
Diffstat (limited to 'worktree.go')
-rw-r--r--worktree.go2
1 files changed, 1 insertions, 1 deletions
diff --git a/worktree.go b/worktree.go
index 4aeae01..f23d9f1 100644
--- a/worktree.go
+++ b/worktree.go
@@ -59,7 +59,7 @@ func (w *Worktree) Pull(o *PullOptions) error {
// Pull only supports merges where the can be resolved as a fast-forward.
//
// 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 (w *Worktree) PullContext(ctx context.Context, o *PullOptions) error {
if err := o.Validate(); err != nil {