diff options
author | Máximo Cuadros <mcuadros@gmail.com> | 2017-09-04 16:00:38 +0200 |
---|---|---|
committer | GitHub <noreply@github.com> | 2017-09-04 16:00:38 +0200 |
commit | 770800d980ba7e0af40502324d15ed50445a3291 (patch) | |
tree | 2a6300e33f07f54cb1f7756100386430215a11d7 /repository.go | |
parent | c20028f6a4d0038d59898392aafe13baa9e84040 (diff) | |
parent | 7cdc44306dd1b3bba4a219bf3c40c5097a505a8e (diff) | |
download | go-git-770800d980ba7e0af40502324d15ed50445a3291.tar.gz |
Merge pull request #576 from mcuadros/clone-tags
Repository.Clone added Tags option, and set by default AllTags
Diffstat (limited to 'repository.go')
-rw-r--r-- | repository.go | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/repository.go b/repository.go index fbc7871..b86054f 100644 --- a/repository.go +++ b/repository.go @@ -440,6 +440,7 @@ func (r *Repository) clone(ctx context.Context, o *CloneOptions) error { Depth: o.Depth, Auth: o.Auth, Progress: o.Progress, + Tags: o.Tags, }, o.ReferenceName) if err != nil { return err |