diff options
author | Douwe Maan <douwe@gitlab.com> | 2015-03-06 23:12:26 +0100 |
---|---|---|
committer | Douwe Maan <douwe@gitlab.com> | 2015-03-06 23:12:26 +0100 |
commit | 84ebc22ad2d9296d23b442948dd3435b33d36cbe (patch) | |
tree | 4653d72ec4d6cc4ea73152379e3af0aab6ed86ea | |
parent | 663b3c968f73f8ffebf32059fed86192ecbee5d8 (diff) | |
download | gitlab-ce-84ebc22ad2d9296d23b442948dd3435b33d36cbe.tar.gz |
Use 2 periods instead of 3 to signify inclusive range.
-rw-r--r-- | app/models/note.rb | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/app/models/note.rb b/app/models/note.rb index e79b7a88344..43981a0044d 100644 --- a/app/models/note.rb +++ b/app/models/note.rb @@ -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') |