mbox series

[0/2] gitlab: minor fixes for checkpatch CI job

Message ID 20201019143537.283094-1-berrange@redhat.com
Headers show
Series gitlab: minor fixes for checkpatch CI job | expand

Message

Daniel P. Berrangé Oct. 19, 2020, 2:35 p.m. UTC
This fixes a bogus error when pushing a branch whose content has no
delta against upstream git master.

Daniel P. Berrangé (2):
  gitlab: skip checkpatch.pl checks if no commit delta on branch
  scripts: fix error from checkpatch.pl when no commits are found

 .gitlab-ci.d/check-patch.py | 8 ++++++++
 scripts/checkpatch.pl       | 2 +-
 2 files changed, 9 insertions(+), 1 deletion(-)

-- 
2.26.2

Comments

Alex Bennée Oct. 21, 2020, 12:32 p.m. UTC | #1
Daniel P. Berrangé <berrange@redhat.com> writes:

> This fixes a bogus error when pushing a branch whose content has no
> delta against upstream git master.

Queued to testing/next, thanks.

>
> Daniel P. Berrangé (2):
>   gitlab: skip checkpatch.pl checks if no commit delta on branch
>   scripts: fix error from checkpatch.pl when no commits are found
>
>  .gitlab-ci.d/check-patch.py | 8 ++++++++
>  scripts/checkpatch.pl       | 2 +-
>  2 files changed, 9 insertions(+), 1 deletion(-)