Method: Gitlab::Git::Repository#merge_base_commit
- Defined in:
- lib/gitlab_git/repository.rb
#merge_base_commit(from, to) ⇒ Object
Returns the SHA of the most recent common ancestor of from and to
369 370 371 |
# File 'lib/gitlab_git/repository.rb', line 369 def merge_base_commit(from, to) rugged.merge_base(from, to) end |