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

Merge enhancements #94

Merged
merged 2 commits into from
Jan 2, 2016
Merged

Conversation

Blacktiger
Copy link

This is to fix #93.

All the current specs still pass. I first attempt to get a ref which results in the correct merge message. If a ref is not found (a partial sha would cause this), then I fall back to the old way of doing things which resolves the sha of the commit instead of a ref.

While I was looking at the code, I also noticed the jgit allows a message to be passed to the merge command so I went ahead and added that here as well. It has no tests though so if you want I can remove it from this PR.

@ajoberstar ajoberstar merged commit 6c38ac4 into ajoberstar:master Jan 2, 2016
ajoberstar added a commit that referenced this pull request Jan 2, 2016
ajoberstar added a commit that referenced this pull request Jan 2, 2016
@ajoberstar
Copy link
Owner

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.

Merge commit contains incorrect message
2 participants