This is the mail archive of the
frysk@sourceware.org
mailing list for the frysk project.
Re: [SCM] master: Rename Linux Host/Proc/Task to Linux Core/Ptrace Host/Proc/Task.
- From: Roland McGrath <roland at redhat dot com>
- To: Andrew Cagney <cagney at redhat dot com>
- Cc: Phil Muldoon <pmuldoon at redhat dot com>, frysk at sourceware dot org
- Date: Thu, 3 Jan 2008 12:56:30 -0800 (PST)
- Subject: Re: [SCM] master: Rename Linux Host/Proc/Task to Linux Core/Ptrace Host/Proc/Task.
- References: <20080103045553.11108.qmail@sourceware.org> <477CB65D.3040806@redhat.com> <477D4941.7050202@redhat.com>
git-mv does not do anything special, in fact. GIT's support for file
renaming is just implicit detection, not explicit markers from user action.
So, what matters is doing a commit that removes file A and adds file B,
where A and B have completely identical contents (matching sha1sum).
To preserve history, you have to carefully do a commit that only renames,
and then a commit that touches the contents of the file.
Thanks,
Roland