{% macro tabs(repo, tab) %} {% if repo.is_drop %}{# A drop (#279): its own bar, none of a repository's tabs. #} {% else %} {% endif %} {% endmacro %} {% macro sig(s) %}{{ s.glyph() }}{% endmacro %} {% macro labels(c) %}{% for l in c.labels %}{{ l.name }}{% endfor %}{% endmacro %} {% macro change_row(repo, c) %}
{% if l.segments.is_empty() %}{{ l.text }}{% else %}{% for g in l.segments %}{% if g.changed %}{{ g.text }}{% else %}{{ g.text }}{% endif %}{% endfor %}{% endif %}{% endmacro %}
{% macro diff_bar(ignore_ws, keep) %}
{% endmacro %}
{% macro diff(files, ignore_ws, keep) %}
{% if !files.is_empty() %}{% call diff_bar(ignore_ws, keep) %}{% endif %}
{% for f in files %}
No line changes.
{% else %}| {% if let Some(n) = l.old_no %}{{ n }}{% endif %} | {% if let Some(n) = l.new_no %}{{ n }}{% endif %} | {{ l.kind.sign() }} | {% call line_text(l) %} |