Commit | Line | Data |
---|---|---|
a35d5d2a | 1 | [% |
2 | # In the case of merge commits there will be no diff tree. | |
3 | IF diff_tree.size > 0; | |
4 | INCLUDE '_diff_tree.tt2'; | |
5 | END; | |
6 | IF diff.size > 0; | |
7 | INCLUDE '_diff.tt2'; | |
8 | ELSE | |
9 | %] | |
10 | <div class='no-difference'> | |
11 | [% | |
12 | IF commit.parents > 1; | |
13 | 'Trivial merge'; | |
14 | ELSE; | |
15 | 'No differences found'; | |
16 | END; | |
17 | %] | |
18 | </div> | |
19 | [% END %] | |
20 |