aboutsummaryrefslogtreecommitdiff
path: root/source
diff options
context:
space:
mode:
authorAdrian Kummerlaender2014-10-21 19:41:13 +0200
committerAdrian Kummerlaender2014-10-21 19:41:13 +0200
commit4c6e50ef89cc2b114a085df37b5f72e8b1876da7 (patch)
treef4128f6ac4459dc92eaee37e7a62d3707fd134a7 /source
parent41d175738c3f11579ad4033d0b2fc9f94b751d6f (diff)
downloadOverview-4c6e50ef89cc2b114a085df37b5f72e8b1876da7.tar
Overview-4c6e50ef89cc2b114a085df37b5f72e8b1876da7.tar.gz
Overview-4c6e50ef89cc2b114a085df37b5f72e8b1876da7.tar.bz2
Overview-4c6e50ef89cc2b114a085df37b5f72e8b1876da7.tar.lz
Overview-4c6e50ef89cc2b114a085df37b5f72e8b1876da7.tar.xz
Overview-4c6e50ef89cc2b114a085df37b5f72e8b1876da7.tar.zst
Overview-4c6e50ef89cc2b114a085df37b5f72e8b1876da7.zip
Enabled customizing of the number of commits to be fetched
Diffstat (limited to 'source')
-rw-r--r--source/01_raw/commits.xsl4
1 files changed, 3 insertions, 1 deletions
diff --git a/source/01_raw/commits.xsl b/source/01_raw/commits.xsl
index bfc265b..c606030 100644
--- a/source/01_raw/commits.xsl
+++ b/source/01_raw/commits.xsl
@@ -13,10 +13,12 @@
<target mode="plain" value="commits.xml"/>
</xsl:variable>
+<xsl:variable name="commit_count">20</xsl:variable>
+
<xsl:template match="repositories/entry">
<entry handle="{@handle}">
<xsl:copy-of select="InputXSLT:external-command(
- concat('./utility/git_log.sh ', path)
+ concat('./utility/git_log.sh ', path, ' ', $commit_count)
)/self::command/commit"/>
</entry>
</xsl:template>