summaryrefslogtreecommitdiff
path: root/include/git2/clone.h
diff options
context:
space:
mode:
authorCarlos Martín Nieto <cmn@dwim.me>2013-09-20 22:34:05 +0200
committerCarlos Martín Nieto <cmn@dwim.me>2013-10-02 06:42:26 +0200
commit6ac15eff6d173674d9f17e9d5ddb98997eb97cf4 (patch)
treec51956c770c2b17c31c50ffa2a0072670df49104 /include/git2/clone.h
parente3a92f0dfc28e423a2f06688338f81b8d17abaf6 (diff)
downloadlibgit2-6ac15eff6d173674d9f17e9d5ddb98997eb97cf4.tar.gz
clone: remove more options from basic clone
The basic clone function is there to make it easy to create a "normal" clone. Remove a bunch of options that are about changing the remote's configuration.
Diffstat (limited to 'include/git2/clone.h')
-rw-r--r--include/git2/clone.h7
1 files changed, 0 insertions, 7 deletions
diff --git a/include/git2/clone.h b/include/git2/clone.h
index c80bf9baa..0a89b5712 100644
--- a/include/git2/clone.h
+++ b/include/git2/clone.h
@@ -62,15 +62,8 @@ typedef struct git_clone_options {
unsigned int version;
git_checkout_opts checkout_opts;
- git_repository_init_options *init_options;
int bare;
- const char *remote_name;
- const char *pushurl;
- const char *fetch_spec;
- const char *push_spec;
- git_transport_flags_t transport_flags;
- git_transport *transport;
git_remote_callbacks *remote_callbacks;
const char* checkout_branch;
} git_clone_options;