git/list[1] front-page[2] threads[3] people[4] search[5] about
 

Re: Adding Git to Better SCM Initiative : Comparison

From
Dmitry Potapov <dpotapov@gmail.com>
Date
Jan 14, 2008, 00:14 UTC
Message-ID
<20080114001408.GV2963@dpotapov.dyndns.org>
In-Reply-To
<200801130144.14574.jnareb@gmail.com>
On Sun, Jan 13, 2008 at 01:44:10AM +0100, Jakub Narebski wrote:
> 
> What does "Renames Support" mean? 

Accordingly to the clarification provided there, it means retaining the history of the file when its name changed. So I would write like this:

Yes. Git can automatically detects renames and show history together, however being content oriented rather than file oriented, the notion of "retaining the history of the file" can not exactly applied to it.

> Because the answer,
> especially in the case of git which is a bit different in that it does
> rename detection and not rename tracking (using inodes / file-ids),
> depends on that...

Git is different in that it tracks the content as the whole rather than tracking a set of files. When you look at some source code, what you really want to know who and why wrote *this*, and usually it does not matter to you whether it was written in this file or another one. CVS is really bad at that, because if you renamed a file, it would be very difficult to go back to history and find that. Many file-ids based SCMs have solved this problem, however, they do not do any better than CVS in another very common case -- when your code is moved around as result of refactoring, but Git addresses both problems, not just one!

So, it is not as much about explicit renaming vs automatic, but about different design goals. After finishing reading this questionnaire, it seems to me that a more proper title for it would be "Better CVS Initiative", so it is not surprisingly that Git does not fit into it well. It is like trying to put characteristics of your LCD into a questionnaire for CRT monitors -- some does not make sense, other misleading, and most important ones are not mentioned anyway...

Dmitry
Previous: Jakub NarebskiNext: Jakub Narebski
Message 14 of 17 in “Adding Git to Better SCM Initiative : Comparison”
  1. Jakub NarebskiDec 10, 2007
  2. Eyvind BernhardsenDec 10, 2007
  3. Jakub NarebskiDec 10, 2007
  4. David KastrupDec 10, 2007
  5. Florian WeimerDec 10, 2007
  6. Johannes SchindelinDec 10, 2007
  7. Florian WeimerDec 10, 2007
  8. Jakub NarebskiDec 10, 2007
  9. Florian WeimerDec 10, 2007
  10. Linus TorvaldsDec 10, 2007
  11. Chris ShoemakerDec 10, 2007
  12. Jakub NarebskiDec 10, 2007
  13. Jakub NarebskiJan 13, 2008
  14. Dmitry PotapovJan 14, 2008
  15. Jakub NarebskiJan 14, 2008
  16. Dmitry PotapovJan 14, 2008
  17. Jakub NarebskiJan 14, 2008

Read the whole thread, see it on lore, or plain text.

$ cat FOOTERMessages come from the public archive at lore.kernel.org/git, fetched every hour. The front page is chosen and written each morning by an AI editor and can be wrong; the threads themselves are the record. About and API. For agents: an MCP server at https://gitlist.dev/mcp, and any thread, story or person page as Markdown by adding .md to its URL (or sending Accept: text/markdown). Details in /llms.txt.