diff options
author | Ben Straub <bs@github.com> | 2013-01-11 20:23:46 -0800 |
---|---|---|
committer | Ben Straub <bs@github.com> | 2013-01-11 20:23:46 -0800 |
commit | 3874f2d54fc693c2fc4488604c56ec74cd24de17 (patch) | |
tree | 457e7a2538b928b091114f62f162e5dce3f85248 /include/git2/remote.h | |
parent | 359316b5d3bfca0ddfed2f653debe7b580b18727 (diff) | |
download | libgit2-3874f2d54fc693c2fc4488604c56ec74cd24de17.tar.gz |
Kill vestigal dangling-remote code
Fixes #1232
Diffstat (limited to 'include/git2/remote.h')
-rw-r--r-- | include/git2/remote.h | 12 |
1 files changed, 1 insertions, 11 deletions
diff --git a/include/git2/remote.h b/include/git2/remote.h index a0f5d5246..b92a0cd04 100644 --- a/include/git2/remote.h +++ b/include/git2/remote.h @@ -60,7 +60,7 @@ GIT_EXTERN(int) git_remote_create( * See `git_tag_create()` for rules about valid names. * * @param out pointer to the new remote object - * @param repo the associated repository. May be NULL for a "dangling" remote. + * @param repo the associated repository * @param fetch the fetch refspec to use for this remote. May be NULL for defaults. * @param url the remote repository's URL * @return 0 or an error code @@ -72,16 +72,6 @@ GIT_EXTERN(int) git_remote_create_inmemory( const char *url); /** - * Sets the owning repository for the remote. This is only allowed on - * dangling remotes. - * - * @param remote the remote to configure - * @param repo the repository that will own the remote - * @return 0 or an error code - */ -GIT_EXTERN(int) git_remote_set_repository(git_remote *remote, git_repository *repo); - -/** * Get the information for a particular remote * * The name will be checked for validity. |