summaryrefslogtreecommitdiffstats
path: root/app/helpers/repositories_helper.rb
diff options
context:
space:
mode:
authorToshi MARUYAMA <marutosijp2@yahoo.co.jp>2020-08-09 15:56:07 +0000
committerToshi MARUYAMA <marutosijp2@yahoo.co.jp>2020-08-09 15:56:07 +0000
commit057c150ff76ce8cb22521590a8946f5034689d11 (patch)
treeae6eb141ffae14fba47e3a3e017daa97e31e36a5 /app/helpers/repositories_helper.rb
parentb8057a88ec83cbd7b78ef40c858f02e6edd3fffe (diff)
downloadredmine-057c150ff76ce8cb22521590a8946f5034689d11.tar.gz
redmine-057c150ff76ce8cb22521590a8946f5034689d11.zip
add empty line after guard clause to RepositoriesHelper
git-svn-id: http://svn.redmine.org/redmine/trunk@19960 e93f8b46-1217-0410-a6f0-8f06a7374b81
Diffstat (limited to 'app/helpers/repositories_helper.rb')
-rw-r--r--app/helpers/repositories_helper.rb2
1 files changed, 2 insertions, 0 deletions
diff --git a/app/helpers/repositories_helper.rb b/app/helpers/repositories_helper.rb
index 13a0dda35..d521b124d 100644
--- a/app/helpers/repositories_helper.rb
+++ b/app/helpers/repositories_helper.rb
@@ -87,6 +87,7 @@ module RepositoriesHelper
def render_changes_tree(tree)
return '' if tree.nil?
+
output = +''
output << '<ul>'
tree.keys.sort.each do |file|
@@ -279,6 +280,7 @@ module RepositoriesHelper
def index_commits(commits, heads)
return nil if commits.nil? or commits.first.parents.nil?
+
refs_map = {}
heads.each do |head|
refs_map[head.scmid] ||= []