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