Merge pull request #786 from mjibson/short-sha

Use 7 chars for git short SHAs
This commit is contained in:
Matt Jibson 2015-11-04 14:21:20 -05:00
commit 5f49c4da7c

View file

@ -4,6 +4,6 @@
</span>
<span class="anchor" href="{{ getUrl(commitSha, urlTemplate) }}" target="_blank"
is-only-text="!urlTemplate || !getUrl(commitSha, urlTemplate)">
{{ commitSha.substring(0, 8) }}
{{ commitSha.substring(0, 7) }}
</span>
</span>