Renames
Posted Jul 28, 2005 15:07 UTC (Thu) by
vmole (guest, #111)
Parent article:
Git approaches 1.0
One of the harder problems in many SCM systems - handling the renaming of files - requires no special care with git.
That's because git completely ignores the problem. Renaming "foo" to "bar" is treated exactly the same as deleting "foo" and then creating "bar". By this definition cvs handles renames just fine, too.
Linus handwaves this problem by saying you can compare content of "foo" and "bar" and guess that the transition was a rename. I personally don't want my SCM to be "guessing" about what has happened.
Which is not to diss git. It does what Linus wants it to do, and does it very quickly. It's an impressive piece of work, and especially so considering the timeframe. But it's not suitable for every development project or style.
(
Log in to post comments)