[%
# In the case of merge commits there will be no diff tree.
IF (diff_tree.size||0) > 0;
INCLUDE '_diff_tree.tt2';
END;
IF (diff.size||0) > 0;
INCLUDE '_diff.tt2';
ELSE
%]
<p class='msg'>
[%
IF commit && commit.parents > 1;
'Trivial merge';
ELSE;
'No differences found';
END;
%]
</p>
[% END %]