Re: [libvirt] [PATCH v2 00/22] Remove unnecessary curly brackets around one-line bodies

2014-11-14 Thread Martin Kletzander
On Thu, Nov 13, 2014 at 05:09:04PM -0700, Eric Blake wrote: On 11/13/2014 04:52 PM, John Ferlan wrote: On 11/13/2014 09:37 AM, Martin Kletzander wrote: Brackets were removed by the following script in the root directory of libvirt's repository: for i in $(git ls-files | grep '\.[ch]$'); do

Re: [libvirt] [PATCH v2 00/22] Remove unnecessary curly brackets around one-line bodies

2014-11-13 Thread Eric Blake
On 11/13/2014 04:52 PM, John Ferlan wrote: > > > On 11/13/2014 09:37 AM, Martin Kletzander wrote: >> Brackets were removed by the following script in the root directory of >> libvirt's repository: >> >> for i in $(git ls-files | grep '\.[ch]$'); do >> echo -n "$i ... "; >> emacs $i --ba

Re: [libvirt] [PATCH v2 00/22] Remove unnecessary curly brackets around one-line bodies

2014-11-13 Thread John Ferlan
On 11/13/2014 09:37 AM, Martin Kletzander wrote: > Brackets were removed by the following script in the root directory of > libvirt's repository: > > for i in $(git ls-files | grep '\.[ch]$'); do > echo -n "$i ... "; > emacs $i --batch --eval \ > '(replace-regexp > "^\\([[:space

[libvirt] [PATCH v2 00/22] Remove unnecessary curly brackets around one-line bodies

2014-11-13 Thread Martin Kletzander
Brackets were removed by the following script in the root directory of libvirt's repository: for i in $(git ls-files | grep '\.[ch]$'); do echo -n "$i ... "; emacs $i --batch --eval \ '(replace-regexp "^\\([[:space:]]*\\(if\\|for\\|while\\).*)\\)[[:space:]]*{\\(\n[^\n;]*;[^\n;]*\\