Skip to content

Commit bf2cf43

Browse files
committed
Show an asterisk beside SHA if it's not the latest
1 parent 0104ab2 commit bf2cf43

File tree

2 files changed

+2
-1
lines changed

2 files changed

+2
-1
lines changed

src/blame.py

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -63,6 +63,7 @@ def run(self, edit, sha_skip_list=[], prevving=False):
6363
blame_phantom_html_template.format(
6464
css=blame_phantom_css,
6565
sha=sha,
66+
sha_not_latest_indicator=" *" if sha_skip_list else "",
6667
user=user,
6768
date=date,
6869
time=time,

src/templates.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@
77
<strong>Git Blame</strong> ({user})
88
{date} {time} |
99
<a href="prev?sha={qs_sha_val}&{qs_skip_keyvals}">[Prev]</a>
10-
{sha}
10+
{sha}{sha_not_latest_indicator}
1111
<a href="copy?sha={qs_sha_val}">[Copy]</a>
1212
<a href="show?sha={qs_sha_val}">[Show]</a>
1313
<a class="close" href="close">\u00D7</a>

0 commit comments

Comments
 (0)