Remote Refinements #319

Merged
netnose merged 4 commits from remote-refinements into master 2016-10-31 14:04:35 -05:00
1 changed files with 4 additions and 3 deletions
Showing only changes of commit 717a47f754 - Show all commits

View File

@ -467,10 +467,11 @@ func (c *RemoteCollection) Rename(remote, newname string) ([]string, error) {
ret := C.git_remote_rename(&cproblems, c.repo.ptr, cremote, cnewname)
if ret < 0 {
problems := makeStringsFromCStrings(cproblems.strings, int(cproblems.count))
return problems, MakeGitError(ret)
return []string{}, MakeGitError(ret)
}
return []string{}, nil
problems := makeStringsFromCStrings(cproblems.strings, int(cproblems.count))
return problems, nil
}
func (c *RemoteCollection) SetUrl(remote, url string) error {