aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--source/02_augment/commits.xsl2
1 files changed, 1 insertions, 1 deletions
diff --git a/source/02_augment/commits.xsl b/source/02_augment/commits.xsl
index 7f17240..c5caeb9 100644
--- a/source/02_augment/commits.xsl
+++ b/source/02_augment/commits.xsl
@@ -13,7 +13,7 @@
</xsl:variable>
<xsl:template match="entry" mode="commit">
- <commit hash="{id}">
+ <commit hash="{substring(id, 0, 7)}">
<xsl:apply-templates select="@*|node()" mode="commit"/>
</commit>
</xsl:template>