[gnutls-devel] GnuTLS | Pass CI commit check if branches are 'even' (!975)
Development of GNU's TLS library
gnutls-devel at lists.gnutls.org
Tue Apr 9 17:04:09 CEST 2019
Nikos Mavrogiannopoulos started a new discussion on devel/check_if_signed:
> # create list of commits of the current branch
> commits=$(git rev-list --no-merges $CI_MERGE_REQUEST_TARGET_BRANCH_NAME..)
> if [ -z "$commits" ]; then
> - echo "Couldn't find any commits to check"
> - exit 1
> + # OK if both branches are 'even'
> + git diff --quiet $CI_MERGE_REQUEST_TARGET_BRANCH_NAME.. && exit 0
Is there a case where this is legitimately zero diff in a non-master branch?
Reply to this email directly or view it on GitLab: https://gitlab.com/gnutls/gnutls/merge_requests/975#note_158986432
You're receiving this email because of your account on gitlab.com.
-------------- next part --------------
An HTML attachment was scrubbed...
More information about the Gnutls-devel