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

Re: git-blame and finding previous version of a line

From
Junio C Hamano <gitster@pobox.com>
Date
Feb 22, 2009, 16:48 UTC
Message-ID
<7vy6vy2za3.fsf@gitster.siamese.dyndns.org>
In-Reply-To
<200902211539.43312.jnareb@gmail.com>
Jakub Narebski <jnareb@gmail.com> writes:
Show 5 quoted lines
> What algorithm do you propose to find previous version of a line? It is
> not a question with definitive answer, I think, so some heuristic would
> be required. Previous version of a line might not even exists! (in that
> case we would probably want to be in the place it is inserted). 
> Fortunately this is a situation where approximation is good enough.

I think Peff and Jonas had discussion on this in the previous thread on tig.

Previous: Jakub Narebski
Message 2 of 2 in “git-blame and finding previous version of a line”
  1. Jakub NarebskiFeb 21, 2009
  2. Junio C HamanoFeb 22, 2009

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.