diff options
Diffstat (limited to 'app/helpers/repositories_helper.rb')
-rw-r--r-- | app/helpers/repositories_helper.rb | 2 |
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] ||= [] |