mirror of
https://github.com/ohmyzsh/ohmyzsh.git
synced 2024-11-18 03:40:08 +00:00
parent
1e5e834e0f
commit
c2b9ae2937
1 changed files with 1 additions and 1 deletions
|
@ -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
|
||||||
|
|
Loading…
Reference in a new issue