[libvirt] [PATCH 4/6] snapshot: virsh indentation cleanup

Eric Blake eblake at redhat.com
Mon Jun 11 16:36:08 UTC 2012


On 06/11/2012 07:52 AM, Peter Krempa wrote:
> On 06/09/12 06:34, Eric Blake wrote:
>> No semantic change; this will make it easier to refactor code.
>>
>> * tools/virsh.c (cmdSnapshotList): Drop level of indentation, and
>> rename a variable.
>> ---
> 
> git show -b is the magic formula to help with indentation patch review :)
> 
> ACK

Thanks; pushed.

When reviewing 5/6 myself before posting, I found it easiest to compare
the new code in one window side-by-side with the existing
cmdSnapshotList code in another window.  Now that the indentation and
naming is similar, the differences boil down to a different
representation (single struct instead of parallel arrays) and deleting
entries from that array.

-- 
Eric Blake   eblake at redhat.com    +1-919-301-3266
Libvirt virtualization library http://libvirt.org

-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 620 bytes
Desc: OpenPGP digital signature
URL: <http://listman.redhat.com/archives/libvir-list/attachments/20120611/84df0bb9/attachment-0001.sig>


More information about the libvir-list mailing list