From f44656c6bbd78ad0f0a49bc9d42db04f88438556 Mon Sep 17 00:00:00 2001 From: Pierre-Yves Chibon Date: Oct 30 2014 20:27:32 +0000 Subject: Do not display additions/deletions on binary in pull-requests either --- diff --git a/progit/templates/pull_request.html b/progit/templates/pull_request.html index d7fdb81..511f335 100644 --- a/progit/templates/pull_request.html +++ b/progit/templates/pull_request.html @@ -155,10 +155,12 @@ {% for patch in diff %}
  • - + {% if not patch.is_binary %} + {% if patch.additions > 0 %}+{{ patch.additions }}{% endif %} {% if patch.deletions > 0 %}-{{ patch.deletions }}{% endif %} - + + {% endif } {{ patch.new_file_path }}
  • @@ -174,10 +176,12 @@

    {{ patch.new_file_path }}