Use 2 periods instead of 3 to signify inclusive range.
This commit is contained in:
parent
663b3c968f
commit
84ebc22ad2
1 changed files with 1 additions and 1 deletions
|
@ -161,7 +161,7 @@ class Note < ActiveRecord::Base
|
||||||
if existing_commits.length == 1
|
if existing_commits.length == 1
|
||||||
existing_commits.first.short_id
|
existing_commits.first.short_id
|
||||||
else
|
else
|
||||||
"#{existing_commits.first.short_id}...#{existing_commits.last.short_id}"
|
"#{existing_commits.first.short_id}..#{existing_commits.last.short_id}"
|
||||||
end
|
end
|
||||||
|
|
||||||
commits_text = ActionController::Base.helpers.pluralize(existing_commits.length, 'commit')
|
commits_text = ActionController::Base.helpers.pluralize(existing_commits.length, 'commit')
|
||||||
|
|
Loading…
Reference in a new issue