summaryrefslogtreecommitdiff
path: root/include/git2/clone.h
diff options
context:
space:
mode:
authorCarlos Martín Nieto <cmn@dwim.me>2013-09-16 18:42:53 +0200
committerCarlos Martín Nieto <cmn@dwim.me>2013-10-02 06:41:42 +0200
commitc8dbec4803aa7d8300f19a97431bbf631ac5a392 (patch)
tree1c58cd0f23b4ca27e7a43011407cd09e1d57f2ed /include/git2/clone.h
parentfe3a40a4ff056400cde6e456211d6b5f2ec1008e (diff)
downloadlibgit2-c8dbec4803aa7d8300f19a97431bbf631ac5a392.tar.gz
clone: remove the autotag option
Downloading all tags is part of what makes it a clone instead of simply a fetch.
Diffstat (limited to 'include/git2/clone.h')
-rw-r--r--include/git2/clone.h3
1 files changed, 0 insertions, 3 deletions
diff --git a/include/git2/clone.h b/include/git2/clone.h
index c3936f6b0..c80bf9baa 100644
--- a/include/git2/clone.h
+++ b/include/git2/clone.h
@@ -54,8 +54,6 @@ GIT_BEGIN_DECL
* means use the transport autodetected from the URL.
* - `remote_callbacks` may be used to specify custom progress callbacks for
* the origin remote before the fetch is initiated.
- * - `remote_autotag` may be used to specify the autotag setting before the
- * initial fetch. The default is GIT_REMOTE_DOWNLOAD_TAGS_ALL.
* - `checkout_branch` gives the name of the branch to checkout. NULL means
* use the remote's HEAD.
*/
@@ -74,7 +72,6 @@ typedef struct git_clone_options {
git_transport_flags_t transport_flags;
git_transport *transport;
git_remote_callbacks *remote_callbacks;
- git_remote_autotag_option_t remote_autotag;
const char* checkout_branch;
} git_clone_options;