提交 f2eb10c9 编写于 作者: L Lin Jen-Shin
上级 307be4b5
......@@ -751,7 +751,7 @@ class MergeRequest < ActiveRecord::Base
where(sha: all_commits_sha, ref: source_branch)
end
# Note that this would also return SHA from dangling commits
# Note that this could also return SHA from now dangling commits
def all_commits_sha
if persisted?
merge_request_diffs.flat_map(&:commits_sha).uniq
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册