projects
/
catagits/Gitalist.git
/ blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
blame
|
history
|
raw
|
HEAD
Proof of concept for #56388: add last commit msg to tre views.
[catagits/Gitalist.git]
/
root
/
fragment
/
ref
/
diff_fancy.tt2
1
[%
2
# In the case of merge commits there will be no diff tree.
3
IF (diff_tree.size||0) > 0;
4
INCLUDE '_diff_tree.tt2';
5
END;
6
IF (diff.size||0) > 0;
7
INCLUDE '_diff.tt2';
8
ELSE
9
%]
10
<p class='msg'>
11
[%
12
IF commit && commit.parents > 1;
13
'Trivial merge';
14
ELSE;
15
'No differences found';
16
END;
17
%]
18
</p>
19
[% END %]
20