BigW Consortium Gitlab

Commit 84ebc22a by Douwe Maan

Use 2 periods instead of 3 to signify inclusive range.

parent 663b3c96
......@@ -161,7 +161,7 @@ class Note < ActiveRecord::Base
if existing_commits.length == 1
existing_commits.first.short_id
else
"#{existing_commits.first.short_id}...#{existing_commits.last.short_id}"
"#{existing_commits.first.short_id}..#{existing_commits.last.short_id}"
end
commits_text = ActionController::Base.helpers.pluralize(existing_commits.length, 'commit')
......
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