This is the mail archive of the
binutils@sourceware.org
mailing list for the binutils project.
Re: A Proposal to Move to Git
- From: Florian Weimer <fw at deneb dot enyo dot de>
- To: Eli Zaretskii <eliz at gnu dot org>
- Cc: Tom Tromey <tromey at redhat dot com>, gdb at sourceware dot org, binutils at sourceware dot org
- Date: Thu, 22 Aug 2013 20:56:44 +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:
> . 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?
Git uses contents-based heuristics to reconstruct renames. The
downside is that it is impossible to make sure that a rename is
recognized by Git. The advantage is that users cannot forget to
register renames on the version control side.
The CVS checkout reconstruction has to be sufficiently accurate and
preserve at a copy of the file at each intermediate checkout version.
Such a correct conversion is usually quite difficult to achieve (CVS
history is usually quite bad, due to bugs and user errors), but it's
obviously desirable for other reasons.