From 7cdc44306dd1b3bba4a219bf3c40c5097a505a8e Mon Sep 17 00:00:00 2001 From: Máximo Cuadros Date: Mon, 4 Sep 2017 13:54:02 +0200 Subject: Repository.Clone added Tags option, and set by default AllTags as git does --- repository.go | 1 + 1 file changed, 1 insertion(+) (limited to 'repository.go') 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 -- cgit