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
git-pr: do not assume a master branch #415
Conversation
|
@edvbld This change now passes all automated pre-integration checks. When the change also fulfills all project specific requirements, type
Since the source branch of this PR was last updated there has been 1 commit pushed to the
|
/integrate |
Mailing list message from Erik Helin on skara-dev: Changeset: 4637c1b git-pr: do not assume a master branch Reviewed-by: rwestberg ! cli/src/main/java/org/openjdk/skara/cli/GitPr.java |
Hi all,
please review this patch that makes
git pr
work even though nomaster
branchis present (which is the case if you clone a repository that uses a different
default branch). The fix consists of two parts:
git pr create
willnow pick the "closest" branch that exists in the upstream (parent) repository
as the target branch by default.
Testing:
git pr create
on different repositories on Linux x64Thanks,
Erik
Progress
Approvers