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 --- utility/git_log.sh | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'utility') 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