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

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

From
Jakub Narebski <jnareb@gmail.com>
Date
Mar 10, 2007, 01:40 UTC
Message-ID
<est24q$p4n$1@sea.gmane.org>
In-Reply-To
<7v8xe53ok5.fsf@assigned-by-dhcp.cox.net>
Junio C Hamano wrote:
Show 13 quoted lines
> Linus Torvalds <torvalds@linux-foundation.org> writes:
> 
>> There were patches floating around for an option called "--follow" to "git 
>> log", that would actually follow the renames. 
>>
>> I don't remember what happened to them - I suspect the implementation 
>> wasn't up to snuff. But the *concept* is definitely right.
> 
> Yes, the concept is good.  It was from Fredrik of
> merge-recursive fame.
> 
> The patch was not _bad_, but it looked a bit too intrusive back
> then and scared me away.

If I remember correctly it had somewhat unfortunate timing, as it was around changes in the same area.

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).

-- 
Jakub Narebski
Warsaw, Poland
ShadeHawk on #git
Previous: Junio C HamanoNext: Junio C Hamano
Message 4 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.