aboutsummaryrefslogtreecommitdiff
path: root/utility
diff options
context:
space:
mode:
authorAdrian Kummerlaender2014-10-21 19:41:13 +0200
committerAdrian Kummerlaender2014-10-21 19:41:13 +0200
commit4c6e50ef89cc2b114a085df37b5f72e8b1876da7 (patch)
treef4128f6ac4459dc92eaee37e7a62d3707fd134a7 /utility
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 'utility')
-rwxr-xr-xutility/git_log.sh4
1 files changed, 2 insertions, 2 deletions
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="<commit hash=\"%h\"><date>%cd</date><message><![CDATA[# %B]]></message></commit>"
- 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'