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

git blame not respecting --find-copies-harder ?

From
Stephen R. van den Berg <srb@cuci.nl>
Date
Jul 30, 2008, 09:39 UTC
Message-ID
<20080730093903.GA14330@cuci.nl>
git clone git://git.cuci.nl/pike

Both of this "git blame" commands return the same (erroneous) results at the end of the files (the last lines are older, and are from the old README file next to it).

git blame README-CVS git blame --find-copies-harder README-CVS

However, when using git show with and without --find-copies-harder, we see that git indeed finds the copy with a 76% similarity index.

git show 9eb55816 git show --find-copies-harder 9eb55816

Shouldn't it be expected that blame should also give the same difference in result with and without that option?

On a related note, it doesn't seem possible to make --find-copies-harder a default; is that intentional?

-- 
Sincerely,
           Stephen R. van den Berg.

How many weeks are there in a lightyear?
Next: Björn Steinbrink
Message 1 of 17 in “git blame not respecting --find-copies-harder ?”
  1. Stephen R. van den BergJul 30, 2008
  2. Björn SteinbrinkJul 30, 2008
  3. Sverre RabbelierJul 30, 2008
  4. Jeff KingJul 31, 2008
  5. Junio C HamanoJul 31, 2008
  6. Jeff KingJul 31, 2008
  7. Junio C HamanoJul 31, 2008
  8. Jeff KingJul 31, 2008
  9. Junio C HamanoJul 31, 2008
  10. Pierre HabouzitJul 31, 2008
  11. Jeff KingJul 31, 2008
  12. Pierre HabouzitJul 31, 2008
  13. Jeff KingJul 31, 2008
  14. Pierre HabouzitJul 31, 2008
  15. Jeff KingJul 31, 2008
  16. Pierre HabouzitJul 31, 2008
  17. Jeff KingJul 31, 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.