This is the mail archive of the
binutils@sourceware.org
mailing list for the binutils project.
Re: A Proposal to Move to Git
- From: Steinar Bang <sb at dod dot no>
- To: binutils at sourceware dot org
- Cc: gdb at sourceware dot org
- Date: Wed, 21 Aug 2013 20:40:04 +0200
- Subject: Re: A Proposal to Move to Git
- References: <8738q4gj7a dot fsf at fleche dot redhat dot com> <83siy3jd7m dot fsf at gnu dot org>
>>>>> Eli Zaretskii <eliz@gnu.org>:
> . Files/directories that are deleted or moved/renamed. Will the
> information from the Attic be extracted, and will git be able to
> intuit renaming and handle deleted files correctly? (One type of
> file which we constantly rename is ChangeLog.)
If you mean follow the history with "git blame" and "git log" across
renames, then the answer is: it depends on how that rename is
represented in the CVS repository.
If a file is removed with one name, and the exact same file is added
with a different name, git itself should be able to detect this as a
rename, no matter what the conversion tool does.
But there are several ways to represent a rename in CVS... issue #1 for
cvs2svn (from which cvs2git derives) lists the possible ways a rename
can be done, and discusses the heuristics to detect this. I see that
this issue is still open:
http://cvs2svn.tigris.org/issues/show_bug.cgi?id=1