This is the mail archive of the
libc-alpha@sourceware.org
mailing list for the glibc project.
Re: How should files be moved in the glibc repository
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