diff options
Diffstat (limited to 'utility')
-rwxr-xr-x | utility/git_log.sh | 4 |
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' |