~edwargix/git.sr.ht

ba25f73ac20f38050be2385fd06f0059f7da5a51 — наб 3 years ago e895c8a
Don't show empty rectangle for hunk-less patches

Confer the .builds/feebsd-latest.yml => .builds/freebsd-latest.yml in
  https://git.sr.ht/~nabijaczleweli/febug/commit/1a001bfdfbe08b155fd5a3e3ea178da8774634a8
1 files changed, 2 insertions(+), 2 deletions(-)

M gitsrht/templates/utils.html
M gitsrht/templates/utils.html => gitsrht/templates/utils.html +2 -2
@@ 186,7 186,7 @@ endif %}{% endfor %}
    if patch.delta.old_file.mode != patch.delta.new_file.mode %}{#
  #}{#
  #}{% endif %}</pre>
<div class="event diff">
{% if patch.hunks|length %}<div class="event diff">
  <pre>{% for hunk in patch.hunks %}
{% set hunk_index = loop.index %}<strong
  class="text-info"


@@ 227,6 227,6 @@ endif %}{% endfor %}
>{{line.origin}}</a>{{line.content}}{#
#}</span>{% endfor %}
{% endfor %}</pre>
</div>
</div>{% endif %}
{% endfor %}
{% endmacro %}