fix(changelog): don't show more than 40 commits (#10345)

Fixes #10345
parent 1e5e834e
...@@ -400,7 +400,7 @@ function main { ...@@ -400,7 +400,7 @@ function main {
# commit if $since is unset, in short hash form. # commit if $since is unset, in short hash form.
command git rev-list --abbrev-commit --abbrev=7 ${since:+$since..}$until | while read hash; do command git rev-list --abbrev-commit --abbrev=7 ${since:+$since..}$until | while read hash; do
# Truncate list on versions with a lot of commits # Truncate list on versions with a lot of commits
if [[ -z "$since" ]] && (( ++read_commits > 35 )); then if (( ++read_commits > 40 )); then
truncate=1 truncate=1
break break
fi fi
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment