Prevent tree log crash if commit missing

This commit is contained in:
Dmitriy Zaporozhets 2013-07-02 14:26:13 +03:00
parent 15bc1223c7
commit 3802ae0cfa

View file

@ -1,6 +1,7 @@
- @logs.each do |content_data| - @logs.each do |content_data|
- file_name = content_data[:file_name] - file_name = content_data[:file_name]
- commit = content_data[:commit] - commit = content_data[:commit]
- next unless commit
:plain :plain
var row = $("table.table_#{@hex_path} tr.file_#{hexdigest(file_name)}"); var row = $("table.table_#{@hex_path} tr.file_#{hexdigest(file_name)}");