summaryrefslogtreecommitdiff
path: root/tools/changelog.sh
diff options
context:
space:
mode:
authorMarc Cornellà <hello@mcornella.com>2021-10-26 13:23:07 +0200
committerMarc Cornellà <hello@mcornella.com>2021-10-26 13:23:07 +0200
commitc2b9ae29371f142fe7f2da694f893f1365170bc2 (patch)
tree135105d94b09147977bc2ad87ab58686c9ae9baa /tools/changelog.sh
parent1e5e834e0f6486a569efd6b12ce4e33624fef0c9 (diff)
downloadzsh-c2b9ae29371f142fe7f2da694f893f1365170bc2.tar.gz
zsh-c2b9ae29371f142fe7f2da694f893f1365170bc2.tar.bz2
zsh-c2b9ae29371f142fe7f2da694f893f1365170bc2.zip
fix(changelog): don't show more than 40 commits (#10345)
Fixes #10345
Diffstat (limited to 'tools/changelog.sh')
-rwxr-xr-xtools/changelog.sh2
1 files changed, 1 insertions, 1 deletions
diff --git a/tools/changelog.sh b/tools/changelog.sh
index 7329a9526..ebdffba0a 100755
--- a/tools/changelog.sh
+++ b/tools/changelog.sh
@@ -400,7 +400,7 @@ function main {
# commit if $since is unset, in short hash form.
command git rev-list --abbrev-commit --abbrev=7 ${since:+$since..}$until | while read hash; do
# Truncate list on versions with a lot of commits
- if [[ -z "$since" ]] && (( ++read_commits > 35 )); then
+ if (( ++read_commits > 40 )); then
truncate=1
break
fi