diff options
author | Marc Cornellà <hello@mcornella.com> | 2021-10-26 13:23:07 +0200 |
---|---|---|
committer | Marc Cornellà <hello@mcornella.com> | 2021-10-26 13:23:07 +0200 |
commit | c2b9ae29371f142fe7f2da694f893f1365170bc2 (patch) | |
tree | 135105d94b09147977bc2ad87ab58686c9ae9baa /tools/changelog.sh | |
parent | 1e5e834e0f6486a569efd6b12ce4e33624fef0c9 (diff) | |
download | zsh-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-x | tools/changelog.sh | 2 |
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 |