This is the mail archive of the
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: <email@example.com> <477CB65D.firstname.lastname@example.org> <477D4941.email@example.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.