From 4c6e50ef89cc2b114a085df37b5f72e8b1876da7 Mon Sep 17 00:00:00 2001 From: Adrian Kummerlaender Date: Tue, 21 Oct 2014 19:41:13 +0200 Subject: Enabled customizing of the number of commits to be fetched --- source/01_raw/commits.xsl | 4 +++- utility/git_log.sh | 4 ++-- 2 files changed, 5 insertions(+), 3 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 @@ +20 + diff --git a/utility/git_log.sh b/utility/git_log.sh index 2dfb0bd..4d00552 100755 --- a/utility/git_log.sh +++ b/utility/git_log.sh @@ -2,6 +2,6 @@ format="%cd" - git --no-pager -C $1 log --date=iso --pretty=tformat:"$format" \ -| tidy --input-xml yes --escape-cdata true --wrap 0 \ + git --no-pager -C $1 log -n $2 --date=iso --pretty=tformat:"$format" \ +| tidy --input-xml yes --escape-cdata true --wrap 0 \ | sed -e 's~^\([\*]\)\{3\}~\t\t\*~g' -e 's~^\([\*]\)\{2\}~\t\*~g' -- cgit v1.2.3