summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDouwe Maan <douwe@gitlab.com>2015-03-06 23:12:26 +0100
committerDouwe Maan <douwe@gitlab.com>2015-03-06 23:12:26 +0100
commit84ebc22ad2d9296d23b442948dd3435b33d36cbe (patch)
tree4653d72ec4d6cc4ea73152379e3af0aab6ed86ea
parent663b3c968f73f8ffebf32059fed86192ecbee5d8 (diff)
downloadgitlab-ce-84ebc22ad2d9296d23b442948dd3435b33d36cbe.tar.gz
Use 2 periods instead of 3 to signify inclusive range.
-rw-r--r--app/models/note.rb2
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')