Commit 58cd99a6f9c0d63778d7c7bacfef808caa3b1ebd

Don't break tree browser table when there's no last_commit

Commit diff

TODO.txt

 
11(in no particular order)
22
3* tree browser: deal better with funny characters: http://gitorious.org/projects/avara/repos/mainline/trees/master
34* if you comment on a specific commit, you should get redirected back there
45* graphs should show username (if we have it) for avoiding confusion and for consistency
56** Repository#commit_graph_data_by_author should just use git-shortlog summary instead of jumping through hoops about it
toggle raw diff

app/views/trees/show.html.erb

 
1919 <td class="meta commit_message">
2020 <%= link_to truncate(h(last_commit.message), 75, "&hellip;"), commit_path(last_commit.id) -%>
2121 </td>
22 <% else -%>
23 <td class="meta"></td>
24 <td class="meta commit_message"></td>
2225 <% end -%>
2326 </tr>
2427 <% end -%>
toggle raw diff