[libvirt PATCH] scripts: avoid error in DCO check on empty branches
Andrea Bolognani
abologna at redhat.com
Fri Mar 27 15:11:16 UTC 2020
On Fri, 2020-03-27 at 14:41 +0000, Daniel P. Berrangé wrote:
> If the DCO check is run on an empty branch (ie one which has no commits
> different from master), it throws an error due to trying to interpret
> the empty string as a git commit SHA.
>
> Signed-off-by: Daniel P. Berrangé <berrange at redhat.com>
> ---
> scripts/require-dco.py | 5 ++++-
> 1 file changed, 4 insertions(+), 1 deletion(-)
Reviewed-by: Andrea Bolognani <abologna at redhat.com>
--
Andrea Bolognani / Red Hat / Virtualization
More information about the libvir-list
mailing list