Re: [libvirt PATCH] scripts: avoid error in DCO check on empty branches

2020-03-27 Thread Andrea Bolognani
On Fri, 2020-03-27 at 14:41 +, 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é > --- > scr

[libvirt PATCH] scripts: avoid error in DCO check on empty branches

2020-03-27 Thread Daniel P . Berrangé
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é --- scripts/require-dco.py | 5 - 1 file changed, 4 insertions(+), 1 deletion(