Support git_remote_create_with_opts #733

Merged
bc-lee merged 4 commits from feature/645-git-remote-create-with-opts into master 2021-02-03 20:58:32 -06:00
1 changed files with 1 additions and 0 deletions
Showing only changes of commit 863c15bbc1 - Show all commits

View File

@ -556,6 +556,7 @@ func (c *RemoteCollection) Create(name string, url string) (*Remote, error) {
return remote, nil
}
//CreateWithOptions Creates a repository object with extended options.
func (c *RemoteCollection) CreateWithOptions(url string, option *RemoteCreateOptions) (*Remote, error) {
remote := &Remote{repo: c.repo}