aboutsummaryrefslogtreecommitdiffstats
path: root/worktree.go
diff options
context:
space:
mode:
authorPaul T <paul.t@gembaadvantage.com>2021-11-02 07:51:10 +0000
committerGitHub <noreply@github.com>2021-11-02 07:51:10 +0000
commit411809ddb56551c2420c722acf49ce4e774333ad (patch)
tree353255c0c4719f39a0e1ff1b9262b98f4aedc91b /worktree.go
parent51514482c696e7d3aadd551cd1308cedc7055ce0 (diff)
parent3211a7a12a0ec2922d257fb14f09c6ecfb0b7c77 (diff)
downloadgo-git-411809ddb56551c2420c722acf49ce4e774333ad.tar.gz
Merge branch 'go-git:master' into codecommit-ref-delta
Diffstat (limited to 'worktree.go')
-rw-r--r--worktree.go1
1 files changed, 1 insertions, 0 deletions
diff --git a/worktree.go b/worktree.go
index f23d9f1..362d10e 100644
--- a/worktree.go
+++ b/worktree.go
@@ -73,6 +73,7 @@ func (w *Worktree) PullContext(ctx context.Context, o *PullOptions) error {
fetchHead, err := remote.fetch(ctx, &FetchOptions{
RemoteName: o.RemoteName,
+ RemoteURL: o.RemoteURL,
Depth: o.Depth,
Auth: o.Auth,
Progress: o.Progress,