diff options
| author | Ben Straub <bs@github.com> | 2012-12-20 10:51:09 -0800 |
|---|---|---|
| committer | Ben Straub <bs@github.com> | 2012-12-20 10:52:57 -0800 |
| commit | 29f27599eab750d2b4b8935a14be8b596b7affe2 (patch) | |
| tree | 7ee49c6386cc18d59969ab5d21805ed0624f9df0 /src/clone.c | |
| parent | 316bca697f16e6fc0c9ecc943e84e9af3b39812b (diff) | |
| download | libgit2-29f27599eab750d2b4b8935a14be8b596b7affe2.tar.gz | |
Rename remote creation APIs
git_remote_add -> git_remote_create
git_remote_new -> git_remote_create_inmemory
Diffstat (limited to 'src/clone.c')
| -rw-r--r-- | src/clone.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/clone.c b/src/clone.c index fae2458ca..9c4a5d9a1 100644 --- a/src/clone.c +++ b/src/clone.c @@ -267,7 +267,7 @@ static int create_and_configure_origin( int error; git_remote *origin = NULL; - if ((error = git_remote_add(&origin, repo, options->remote_name, url)) < 0) + if ((error = git_remote_create(&origin, repo, options->remote_name, url)) < 0) goto on_error; git_remote_set_cred_acquire_cb(origin, options->cred_acquire_cb, |
