diff options
author | Lin Jen-Shin <godfat@godfat.org> | 2016-09-20 19:18:48 +0800 |
---|---|---|
committer | Lin Jen-Shin <godfat@godfat.org> | 2016-09-20 19:18:48 +0800 |
commit | f2eb10c9bc6428c532f79914b737082518fae7e8 (patch) | |
tree | b9f2c16dea9dab52316e00676735f959b8a892a3 | |
parent | 307be4b52145d271cfddfbbd91b8bd2280ce31ae (diff) | |
download | gitlab-ce-f2eb10c9bc6428c532f79914b737082518fae7e8.tar.gz |
slightly tweak about the comment, feedback:
https://gitlab.com/gitlab-org/gitlab-ce/merge_requests/6414#note_15750250
-rw-r--r-- | app/models/merge_request.rb | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/app/models/merge_request.rb b/app/models/merge_request.rb index 5af01846699..4673f895a1a 100644 --- a/app/models/merge_request.rb +++ b/app/models/merge_request.rb @@ -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 |