aboutsummaryrefslogtreecommitdiffstats
path: root/worktree.go
diff options
context:
space:
mode:
authorNick Thomas <nick@gitlab.com>2017-07-22 09:50:40 +0100
committerJeremy Stribling <strib@alum.mit.edu>2017-11-27 11:38:14 -0800
commit702718fd59be0aa4b8bf8492403c465107ca17af (patch)
tree00724b2409b9dee0f9fe5fc6b86d9da2cf91f0ce /worktree.go
parent147a1b7d2e8a08d5c6228de0f98b3f5a1497f95a (diff)
downloadgo-git-702718fd59be0aa4b8bf8492403c465107ca17af.tar.gz
Support non-force fetches
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 8ababfa..67d7f08 100644
--- a/worktree.go
+++ b/worktree.go
@@ -69,6 +69,7 @@ func (w *Worktree) PullContext(ctx context.Context, o *PullOptions) error {
Depth: o.Depth,
Auth: o.Auth,
Progress: o.Progress,
+ Force: o.Force,
})
updated := true