A Proposal to Move to Git

Steinar Bang sb@dod.no
Wed Aug 21 18:40:00 GMT 2013


>>>>> 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



More information about the Gdb mailing list