Class: Git::Lib
- Inherits:
-
Object
- Object
- Git::Lib
- Defined in:
- lib/danger/scm_source/git_repo.rb
Instance Method Summary collapse
Instance Method Details
#merge_base(commit1, commit2, *other_commits) ⇒ Object
66 67 68 69 70 71 72 |
# File 'lib/danger/scm_source/git_repo.rb', line 66 def merge_base(commit1, commit2, *other_commits) arr_opts = [] arr_opts << commit1 arr_opts << commit2 arr_opts += other_commits command("merge-base", arr_opts) end |