summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorLin Jen-Shin <godfat@godfat.org>2016-09-20 19:18:48 +0800
committerLin Jen-Shin <godfat@godfat.org>2016-09-20 19:18:48 +0800
commitf2eb10c9bc6428c532f79914b737082518fae7e8 (patch)
treeb9f2c16dea9dab52316e00676735f959b8a892a3
parent307be4b52145d271cfddfbbd91b8bd2280ce31ae (diff)
downloadgitlab-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.rb2
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