Use 2 periods instead of 3 to signify inclusive range.

This commit is contained in:
Douwe Maan 2015-03-06 23:12:26 +01:00
parent 663b3c968f
commit 84ebc22ad2

View file

@ -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')