Commits

Benoît Allard committed 01a28bc

Only print the files that have actually been touched by the considered revisions.

Comments (0)

Files changed (1)

         s = 0
         for t in ts:
             s += 1 / (1 + exp((-12 * t) + 12))
-        d.append((f, s))
+        if s != 0:
+            d.append((f, s))
         ui.progress('score', pos, f, total=len(data))
         pos += 1
     ui.progress('score', None)