How should files be moved in the glibc repository

Steve Ellcey sellcey@caviumnetworks.com
Mon Nov 28 18:34:00 GMT 2016


On Mon, 2016-11-28 at 19:00 +0100, Andreas Schwab wrote:
> On Nov 28 2016, Steve Ellcey <sellcey@cavium.com> wrote:
> 
> > 
> > 'git mv' or a 'git rm / git add' to move these files?  Or does it
> > matter?
> It doesn't matter.  Both do exactly the same.
> 
> Andreas.

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.

Steve Ellcey
sellcey@caviumnetworks.com



More information about the Libc-alpha mailing list