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

List branches from only one repository if a repository name is given #1192

Merged
merged 1 commit into from Feb 8, 2017

Conversation

mystygage
Copy link
Contributor

@mystygage mystygage commented Jan 26, 2017

Fix #1184

I'm not sure whether this change should increase the rpc version number or not...

@@ -133,6 +133,10 @@ protected void processRequest(HttpServletRequest request, HttpServletResponse re
model.name));
continue;
}
if(objectName != null && !objectName.equals(model.name)) {
Copy link
Owner

@gitblit gitblit Jan 26, 2017

Choose a reason for hiding this comment

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

if (!StringUtils.isEmpty(objectName) && !objectName.equals(model.name)) {

Copy link
Contributor Author

@mystygage mystygage Jan 26, 2017

Choose a reason for hiding this comment

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

Done

e.g.: https://localhost:8443/rpc/?req=LIST_REPOSITORY_BRANCHES&name=repo.git

Fix gitblit#1184
@mystygage mystygage force-pushed the listBranchForRepository branch from cec2e48 to 61df9b9 Compare Jan 26, 2017
@gitblit gitblit merged commit 3d569f8 into gitblit:master Feb 8, 2017
@gitblit
Copy link
Owner

gitblit commented Feb 8, 2017

Thanks!

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.

None yet

3 participants