Method: Git::Lib#branch_contains

Defined in:
lib/git/lib.rb

#branch_contains(commit, branch_name = '')

This method is part of a private API. You should avoid using this method if possible, as it may be removed or be changed in the future.



799
800
801
# File 'lib/git/lib.rb', line 799

def branch_contains(commit, branch_name = '')
  command('branch',  branch_name, '--contains', commit)
end