diff options
author | Máximo Cuadros <mcuadros@gmail.com> | 2017-09-04 13:54:02 +0200 |
---|---|---|
committer | Máximo Cuadros <mcuadros@gmail.com> | 2017-09-04 13:54:02 +0200 |
commit | 7cdc44306dd1b3bba4a219bf3c40c5097a505a8e (patch) | |
tree | 2a6300e33f07f54cb1f7756100386430215a11d7 /repository.go | |
parent | 38b9d5711a0d8156a5b5b1e5dd9972558b1389a7 (diff) | |
download | go-git-7cdc44306dd1b3bba4a219bf3c40c5097a505a8e.tar.gz |
Repository.Clone added Tags option, and set by default AllTags as git does
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 |