diff --git a/progit/templates/commit.html b/progit/templates/commit.html
index e9b357b..5dbf249 100644
--- a/progit/templates/commit.html
+++ b/progit/templates/commit.html
@@ -66,7 +66,7 @@
{% for patch in diff %}
- {% if not patch.is_binary %}
+ {% if not patch.is_binary and (patch.additions + patch.deletions) > 0%}
{% if patch.additions > 0 %}+{{ patch.additions }}{% endif %}
{% if patch.deletions > 0 %}-{{ patch.deletions }}{% endif %}
@@ -87,11 +87,11 @@
{{ patch.new_file_path }}
{% endif %}