-
Notifications
You must be signed in to change notification settings - Fork 533
Check if branch contains commit #174
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
Check if branch contains commit #174
Conversation
👍 |
3fc1c27
to
b224195
Compare
This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Thank you for your contributions. |
I am no longer using ruby-git day to day. I wont update unless the maintainer is interested. |
@kwstannard if you could rebase it - I'll merge it in - it looks like a really helpful feature. |
This allows the user to see if an arbitrary commit is contained within a branch. For example you can check to see if a branch was merged into master with `git.branch('master').contains?('feature')`. Or you can see if your feature branch has the latest master commit with `git.branch('feature').contains?('master')`
3c6e1db
to
de848e4
Compare
@rvodden updated, hope it helps. |
This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Thank you for your contributions. |
@kwstannard Sorry for the delay. Could you rebase one more time? (hopefully the last time...) Thanks. |
I am just going to close this. If you want it, I guess just open it and merge??? |
@kwstannard Ah, missed your comment about not using ruby-git so much anymore. It looks like a useful feature. I'll try to get it merged now, sorry for the delays and so forth. |
(also, I unfortunately didn't get any message after you rebased it the last time) |
Looks like you probably just need to restart that failed job |
Closed and opened to trigger Travis. |
This allows the user to see if an arbitrary commit is contained within a
branch. For example you can check to see if a branch was merged into
master with
git.branch('master').contains?('feature')
. Or you can seeif your feature branch has the latest master commit with
git.branch('feature').contains?('master')