Add mech testing in from the branch I previously made. 5 of the URIs which we test...
[catagits/Gitalist.git] / root / fragment / commit / diff_fancy.tt2
index 58a3943..3a6ad5e 100644 (file)
@@ -1,9 +1,9 @@
 MOO[%
   # In the case of merge commits there will be no diff tree.
-  IF diff_tree.size > 0;
+  IF (diff_tree.size||0) > 0;
     INCLUDE '_diff_tree.tt2';
   END;
-  IF diff.size > 0;
+  IF (diff.size||0) > 0;
     INCLUDE '_diff.tt2';
   ELSE
   %]