Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

allow default branch to be set #190

Merged
merged 1 commit into from
Jul 17, 2015
Merged

allow default branch to be set #190

merged 1 commit into from
Jul 17, 2015

Conversation

if6was9
Copy link

@if6was9 if6was9 commented May 9, 2015

GHRepository did not provide a method to set the default branch.

Note that #189 is required for this to work.

@buildhive
Copy link

Kohsuke Kawaguchi » github-api #342 SUCCESS
This pull request looks good
(what's this?)

@@ -494,6 +494,12 @@ public void setHomepage(String value) throws IOException {
edit("homepage",value);
}

public void setMasterBranch(String value) throws IOException {
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I suppose the method should be called setDefaultBranch

Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

+1

@kohsuke kohsuke merged commit e4de09c into hub4j:master Jul 17, 2015
kohsuke added a commit that referenced this pull request Jul 17, 2015
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

5 participants