This is the mail archive of the binutils@sourceware.org mailing list for the binutils project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: A Proposal to Move to Git


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


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]