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

Re: git-log --full-history renamed-file

From
APAndy Parkins <andyparkins@gmail.com>
Date
Mar 10, 2007, 06:14 UTC
Message-ID
<200703100614.04526.andyparkins@gmail.com>
In-Reply-To
<est24q$p4n$1@sea.gmane.org>
On Saturday 2007, March 10, Jakub Narebski wrote:
Show 5 quoted lines
> By the way, while it is fairly easy to follow one file, it is hard
> to follow directory or glob... and there is a trouble that one file
> might come from two files (as concatenation for example; but I don't
> think git can detect it with default values of rename detection
> heuristics).
That's not rename detection then though.

I know git is clever and has potential to be able to do rename detection even when it was rename-and-modify. For me though, I always like to make the job of the VCS easier by doing the rename in a separate commit from the modify.

I'd really like it if git would deal with the easy, 100% rename case, even if it didn't deal with the rename-two-files-to-be-one-file-and-modify-the-result case.

Andy
-- 
Dr Andy Parkins, M Eng (hons), MIET
andyparkins@gmail.com
Previous: Linus TorvaldsNext: Junio C Hamano
Message 7 of 8 in “git-log --full-history renamed-file”
  1. Jim MeyeringMar 9, 2007
  2. Linus TorvaldsMar 9, 2007
  3. Junio C HamanoMar 10, 2007
  4. Jakub NarebskiMar 10, 2007
  5. Junio C HamanoMar 10, 2007
  6. Linus TorvaldsMar 10, 2007
  7. Andy ParkinsMar 10, 2007
  8. Junio C HamanoMar 10, 2007

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.