diff options
Diffstat (limited to 'app/models/commit_range.rb')
-rw-r--r-- | app/models/commit_range.rb | 8 |
1 files changed, 2 insertions, 6 deletions
diff --git a/app/models/commit_range.rb b/app/models/commit_range.rb index 19b1a218e45..66daa072c9e 100644 --- a/app/models/commit_range.rb +++ b/app/models/commit_range.rb @@ -67,12 +67,8 @@ class CommitRange end end - def to_s(short: true) - if short - "#{sha_from[0..7]}#{notation}#{sha_to[0..7]}" - else - "#{sha_from}#{notation}#{sha_to}" - end + def to_s + "#{sha_from[0..7]}#{notation}#{sha_to[0..7]}" end # Returns a String for use in a link's title attribute |