schacon/ruby-git — pull request #174 by kwstannard (2014-08-29 16:35:32+00:00)
Title: Check if branch contains commit

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')`