500 error when pushing with a sub dir repo
Created by: petergus
Trying to work out the whole sub project / submodule thing and trying to push a commit that includes a sub dir with a cloned repo. in general this seems to work pretty ok, but threw a 500 error in gitlab :(
here is the log, im really not sure what is going on...
Rendered tree/show.html.haml within layouts/project_resource (132.6ms)
Completed 500 Internal Server Error in 173ms
ActionView::Template::Error (can't convert nil into String):
    30:           %td
    31:           %td
    32: 
    33:       = render_tree(tree.contents)
    34: 
    35:     - if tree.readme
    36:       = render "tree/readme", readme: tree.readme
  app/helpers/tree_helper.rb:18:in `+'
  app/helpers/tree_helper.rb:18:in `block in render_tree'
  app/helpers/tree_helper.rb:15:in `each'
  app/helpers/tree_helper.rb:15:in `render_tree'
  app/views/tree/_tree.html.haml:33:in `_app_views_tree__tree_html_haml___3296773652055070545_61842460'
  app/views/tree/show.html.haml:3:in `_app_views_tree_show_html_haml__1062234758037487808_60063240'
  app/controllers/tree_controller.rb:17:in `show'