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

Re: Rename detection at git log

From
APAndy Parkins <andyparkins@gmail.com>
Date
Nov 20, 2006, 11:59 UTC
Message-ID
<200611201159.16596.andyparkins@gmail.com>
In-Reply-To
<ejs2lp$2r4$1@sea.gmane.org>
On Monday 2006 November 20 11:15, Jakub Narebski wrote:
Show 5 quoted lines
> I'm not sure about this. You usually both do pure renames (to reorganize
> files, to give file a better name) and renames with modification, but
> I don't think that copy without modification is very common. Usually you
> copy a file because you take one file as template for the other, or you
> split file, or you join files into one file.

Exactly - unfortunately it's the /source/ that has to be modified to be included in the potential list. Who copies a file then modifies the original? The copy is by definition already one of the modified files.

"For performance reasons, by default, -C option finds copies only if the original file of the copy was modified in the same changeset. This flag makes"

Your points about copy-and-change accepted. Hash comparison is not sufficient.

Andy
-- 
Dr Andy Parkins, M Eng (hons), MIEE
Previous: Junio C HamanoNext: Junio C Hamano
Message 10 of 17 in “Rename detection at git log”
  1. Alexander LitvinovNov 20, 2006
  2. Andy ParkinsNov 20, 2006
  3. Junio C HamanoNov 20, 2006
  4. Jakub NarebskiNov 20, 2006
  5. Andy ParkinsNov 20, 2006
  6. Junio C HamanoNov 20, 2006
  7. Andy ParkinsNov 20, 2006
  8. Jakub NarebskiNov 20, 2006
  9. Junio C HamanoNov 20, 2006
  10. Andy ParkinsNov 20, 2006
  11. Junio C HamanoNov 20, 2006
  12. Andy ParkinsNov 20, 2006
  13. Alexander LitvinovNov 20, 2006
  14. Alex RiesenNov 20, 2006
  15. Andy ParkinsNov 20, 2006
  16. Junio C HamanoNov 20, 2006
  17. Andy ParkinsNov 20, 2006

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.