Re: [PATCH] Omitting braces with a single-line body

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On Mon, Apr 22, 2013 at 9:13 PM, Osier Yang <jyang@xxxxxxxxxx> wrote:
> On 22/04/13 20:33, harryxiyou@xxxxxxxxx wrote:
>>
>> From: Harry Wei <harryxiyou@xxxxxxxxx>
>>
>> After i read libvirt/HACKING file, i find we should
>
>
> s/i/I/,

Actually, i wonder what 's/i/l/' means?

>
>
>> Omit braces with a single-line body. So this patch
>> fix this coding style problem for Sheepdog storage
>
>
> s/fix this/fixes the/,

The same problem as above.

>
>> backend driver.
>
>
> The commit log can be more compact:
>
> Prefer no braces for single line bodies.

Yup, i think so ;-)

>
>
[...]
>
> ACK

Thanks ;-)


--
Thanks
Harry Wei

--
libvir-list mailing list
libvir-list@xxxxxxxxxx
https://www.redhat.com/mailman/listinfo/libvir-list




[Index of Archives]     [Virt Tools]     [Libvirt Users]     [Lib OS Info]     [Fedora Users]     [Fedora Desktop]     [Fedora SELinux]     [Big List of Linux Books]     [Yosemite News]     [KDE Users]     [Fedora Tools]