Lin Jen-Shin 2016-07-07 19:25:05 +08:00
parent 3c89a788c7
commit 011e281604

View file

@ -425,8 +425,8 @@ class Project < ActiveRecord::Base
container_registry_repository.tags.any?
end
def commit(id = 'HEAD')
repository.commit(id)
def commit(ref = 'HEAD')
repository.commit(ref)
end
def merge_base_commit(first_commit_id, second_commit_id)