diff options
| author | Ben Straub <bs@github.com> | 2013-02-06 13:07:56 -0800 |
|---|---|---|
| committer | Ben Straub <bs@github.com> | 2013-02-06 13:07:56 -0800 |
| commit | f393d4e8d725b3e45a4b438a6f3ab7be589b2806 (patch) | |
| tree | e9658e0847b5044e99cae7fe397c5d3ff02dc7da /src/clone.c | |
| parent | fb60d268df2272626f48cfed7b2a185413e7e9f4 (diff) | |
| download | libgit2-f393d4e8d725b3e45a4b438a6f3ab7be589b2806.tar.gz | |
Clone: fetch all tags
Diffstat (limited to 'src/clone.c')
| -rw-r--r-- | src/clone.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/src/clone.c b/src/clone.c index 333bf2148..4b72b833c 100644 --- a/src/clone.c +++ b/src/clone.c @@ -417,6 +417,7 @@ static void normalize_options(git_clone_options *dst, const git_clone_options *s /* Provide defaults for null pointers */ if (!dst->remote_name) dst->remote_name = "origin"; + if (!dst->remote_autotag) dst->remote_autotag = GIT_REMOTE_DOWNLOAD_TAGS_ALL; } int git_clone( |
