{% if stale %}
This file no longer has these changes — reload the page for the current list.
{% elif diff.conflicted %}
Conflicted file — resolve the merge in a terminal.
{% elif diff.binary %}
Binary file changed — no text diff.
{% elif not diff.hunks %} {% if diff.meta == "renamed with no content changes" %}
Renamed with no content changes.
{% elif diff.meta == "file mode changed" %}
File mode changed.
{% else %}
No changes to show.
{% endif %} {% else %}
{% for hunk in diff.hunks %} {% for line in hunk.lines %} {% endfor %} {% endfor %}
{{ hunk.header }}
{{ line.old_no if line.old_no is not none }} {{ line.new_no if line.new_no is not none }} {{ line.text }}
{% if diff.truncated %}
Truncated — showing the first 500 lines. gitstow diff in a terminal shows everything.
{% endif %} {% endif %}