do not print newline on empty diff