[libvirt PATCH] scripts: ignore whitespace in pdwtags output

Ján Tomko jtomko at redhat.com
Wed Dec 2 10:28:13 UTC 2020


On a Wednesday in 2020, Daniel P. Berrangé wrote:
>The pdwtags program changed its whitespace formatting for enum
>values in release 1.19:
>
>  @@ -145,22 +145,22 @@
>           u_int                      flags;
>   };
>   enum admin_procedure {
>  -        ADMIN_PROC_CONNECT_OPEN = 1,
>  -        ADMIN_PROC_CONNECT_CLOSE = 2,
>  -        ADMIN_PROC_CONNECT_GET_LIB_VERSION = 3,
>  -        ADMIN_PROC_CONNECT_LIST_SERVERS = 4,
>  -        ADMIN_PROC_CONNECT_LOOKUP_SERVER = 5,
>  +        ADMIN_PROC_CONNECT_OPEN                     = 1,
>  +        ADMIN_PROC_CONNECT_CLOSE                    = 2,
>  +        ADMIN_PROC_CONNECT_GET_LIB_VERSION          = 3,
>  +        ADMIN_PROC_CONNECT_LIST_SERVERS             = 4,
>  +        ADMIN_PROC_CONNECT_LOOKUP_SERVER            = 5,
>
>Workaround this by telling diff to ignore whitespace changes.
>
>Signed-off-by: Daniel P. Berrangé <berrange at redhat.com>
>---
> scripts/check-remote-protocol.py | 2 +-
> 1 file changed, 1 insertion(+), 1 deletion(-)
>

Reviewed-by: Ján Tomko <jtomko at redhat.com>

Jano
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 488 bytes
Desc: not available
URL: <http://listman.redhat.com/archives/libvir-list/attachments/20201202/96ad1f46/attachment-0001.sig>


More information about the libvir-list mailing list