Re: [PATCH] tests: reduce length of nodeinfodata test names

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

 



Eric Blake wrote:
...
> This [change-set] LOOKS huge, but is really just a couple of 'git mv'
> commands and a change to nodeinfotest.c.  Scroll to the bottom for
> the real change; I've shortened boring parts of this mail to get past
> the 100k mail cap enforced by the list.

If you set git diff's "renames" option, (i.e., globally):

    git config --global diff.renames true

then "git diff", format-patch, etc. output is much more readable,
i.e., it excludes the "remove-entire-file" then "add-same-contents"
diff output.  Instead it just prints something like this:

    diff --git a/old b/new
    similarity index 100%
    rename from old
    rename to new

--
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]