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

Re: Finally implement "git log --follow"

From
Linus Torvalds <torvalds@linux-foundation.org>
Date
Jun 20, 2007, 16:47 UTC
Message-ID
<alpine.LFD.0.98.0706200940000.3593@woody.linux-foundation.org>
In-Reply-To
<e5bfff550706192327l187b30eblb5bd5e4e76b3eab6@mail.gmail.com>
On Wed, 20 Jun 2007, Marco Costalba wrote:
> 
>  now I have one more reason to switch from using git-rev-list to
> git-log in qgit, file history annotation, that is currently based on
> git-rev-list, will automatically gain a powerful feature.

Well, note my other email about how "--follow" does *not* play together with "--parents", because the two do totally different kinds of filtering of the commits. So yes, you can use it for file history annotation, but not for the "graphical history" part that depends on parenthood etc.

That said, you really would be better off using
	git blame -M --incremental

for the history annotation. It does the rename following *and* so much more.

		Linus
Previous: Marco CostalbaNext: Marco Costalba
Message 5 of 11 in “Finally implement "git log --follow"”
  1. Linus TorvaldsJun 19, 2007
  2. Linus TorvaldsJun 19, 2007
  3. Marco CostalbaJul 4, 2007
  4. Marco CostalbaJun 20, 2007
  5. Linus TorvaldsJun 20, 2007
  6. Marco CostalbaJun 21, 2007
  7. Linus TorvaldsJun 21, 2007
  8. Johannes SchindelinJun 21, 2007
  9. Linus TorvaldsJun 21, 2007
  10. Linus TorvaldsJun 21, 2007
  11. Junio C HamanoJun 21, 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.