Skip to content

Commit

Permalink
UPSTREAM: <carry>: Fix downstream commit detection
Browse files Browse the repository at this point in the history
In some cases, upstream commits were included in the git log command, causing the verify-git-history test to fail because the commits did not follow name rules.
  • Loading branch information
RadekManak committed May 22, 2023
1 parent 620beb3 commit 42fa4c2
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion openshift-hack/verify-history.sh
Expand Up @@ -40,7 +40,7 @@ while read -r message; do
exit 1
fi
echo "$message"
done < <(git log "$check_base".."$check_sha" --pretty=%s --no-merges)
done < <(git log "$check_base".."$check_sha" --pretty=%s --no-merges --ancestry-path)

echo
echo "All looks good"

0 comments on commit 42fa4c2

Please sign in to comment.