##// END OF EJS Templates
diffstat: print 0 instead of nothing for 0 adds or removes...
Brodie Rao -
r9639:5384a22a default
parent child Browse files
Show More
@@ -1407,7 +1407,7 b' def diffstat(lines, width=80):'
1407 1407 for filename, adds, removes in stats:
1408 1408 pluses = '+' * scale(adds)
1409 1409 minuses = '-' * scale(removes)
1410 output.append(' %-*s | %*.d %s%s\n' % (maxname, filename, countwidth,
1410 output.append(' %-*s | %*s %s%s\n' % (maxname, filename, countwidth,
1411 1411 adds+removes, pluses, minuses))
1412 1412
1413 1413 if stats:
General Comments 0
You need to be logged in to leave comments. Login now