How should files be moved in the glibc repository

Zack Weinberg zackw@panix.com
Mon Nov 28 19:23:00 GMT 2016


On Mon, Nov 28, 2016 at 1:34 PM, Steve Ellcey
<sellcey@caviumnetworks.com> wrote:
>
> I found my problem.  I was doing 'git diff' and not 'git diff HEAD'.
> The 'git diff' command did not capture renames or deletes when creating
> a patch, the 'git diff HEAD' command does capture them and then when I
> apply that patch the old files are no longer there.

Doing `git config --global diff.renames true` might sort this out.
Also, for patch submission `git format-patch` is better.

zw



More information about the Libc-alpha mailing list