[virt-tools-list] [PATCH v6 0/5] virt-manager enhanced version id

Eric Blake eblake at redhat.com
Mon Apr 15 16:58:25 UTC 2013


On 04/13/2013 03:42 PM, Gene Czarcinski wrote:
> OK, lets run this version stuff up the flag pole and see if anyone
> salutes.  This is the "eat the cake and have it too" version.
> 

> Gene Czarcinski (5):
>   update __version__ to 0.9.100 for pre-release id
>   automate @VERSION@ in virt-manager.spec
>   add user setable version using configure
>   add option for snapshot-id suffix to __version__
>   update spec file to use its version at runtime

I haven't looked at the patches themselves, but noticed one thing:

> 
>  .gitignore           |   1 +
>  setup.py             |  53 ++++-
>  virt-manager.spec    | 612 --------------------------------------------------
>  virt-manager.spec.in | 613 +++++++++++++++++++++++++++++++++++++++++++++++++++

This looks like a file rename.  If you would do:

git config --global diff.renames true

then 'git diff' (and thus 'git send-email') will show a much more
compact representation of the rename, instead of all lines deleted from
the old and all lines added to the new.  I also find it easier to review
patches with git rename detection enabled, because you can then focus on
the 1% of the lines that changed during the rename, instead of the 99%
of the lines that moved between files unchanged.

Or drop --global if you are worried about interacting with a project
that still supports non-git access such as CVS or hg mirroring, but then
remember to do it on a per-project basis for any project that uses git
exclusively.  [Legacy compatibility with non-git projects is the only
reason that git doesn't enable this config option by default, but since
git rename diffs are so useful, even upstream GNU diff and patch have
learned to use them]

-- 
Eric Blake   eblake 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: 621 bytes
Desc: OpenPGP digital signature
URL: <http://listman.redhat.com/archives/virt-tools-list/attachments/20130415/c4a926f3/attachment.sig>


More information about the virt-tools-list mailing list