Skip to content

Commit

Permalink
git: history: increase limit to the last 99 commits
Browse files Browse the repository at this point in the history
We are fetching the last 100 commits, let's look a bit further.

Recently, the CI had to validate a very long series: 33, depending on
another one of 28 patches. Not ideal but fine to cover this case.

Signed-off-by: Matthieu Baerts <[email protected]>
  • Loading branch information
matttbe committed Nov 23, 2023
1 parent 45c4724 commit 24eee54
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion entrypoint.sh
Original file line number Diff line number Diff line change
Expand Up @@ -112,7 +112,7 @@ git_get_sha_from_commit_title() {

# $1: commit title
has_commit_in_history() {
[ -n "$(git_get_sha_from_commit_title "${1}" HEAD~50..)" ]
[ -n "$(git_get_sha_from_commit_title "${1}" HEAD~99..)" ]
}

# [ $1: commit msg, default: current branch ]
Expand Down

0 comments on commit 24eee54

Please sign in to comment.