Commit 011e2816 authored by Lin Jen-Shin's avatar Lin Jen-Shin
parent 3c89a788
...@@ -425,8 +425,8 @@ class Project < ActiveRecord::Base ...@@ -425,8 +425,8 @@ class Project < ActiveRecord::Base
container_registry_repository.tags.any? container_registry_repository.tags.any?
end end
def commit(id = 'HEAD') def commit(ref = 'HEAD')
repository.commit(id) repository.commit(ref)
end end
def merge_base_commit(first_commit_id, second_commit_id) def merge_base_commit(first_commit_id, second_commit_id)
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment