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

Re: gsoc - Better git log --follow support

From
Jeff King <peff@peff.net>
Date
Mar 23, 2011, 18:22 UTC
Message-ID
<20110323182249.GA17490@sigill.intra.peff.net>
In-Reply-To
<7vk4fpemei.fsf@alter.siamese.dyndns.org>
On Wed, Mar 23, 2011 at 11:12:37AM -0700, Junio C Hamano wrote:
Show 8 quoted lines
> Jeff King <peff@peff.net> writes:
> 
> > Obviously a solution that always provides an exact right answer is
> > preferable to "pretty good results", but we'd have to keep in mind the
> > performance difference.
> 
> And that is why the current --follow hack was declared to be good enough
> to give "pretty good results" by its inventor, no?

Absolutely. I just think we can make "pretty good" slightly better with just a little more effort.

> I still agree with it personally, and if we _were_ to improve it out of
> "hack" status, we should aim to do the right thing (provided if there is a
> "right thing" exists).

Right. The problem is that I'm not sure we want to pay the performance penalty to take it out of "hack" status. But that doesn't mean we can't make it as good a hack as possible. :)

Actually, I think the non-hack version of it is not really --follow at all, but more like Bo's line-level browser. But I think that still leaves room for a solution like --follow that is perhaps a bit faster and provides a pretty good answer.

-Peff
Previous: Junio C HamanoNext: Michał Łowicki
Message 9 of 12 in “gsoc - Better git log --follow support”
  1. Michał ŁowickiMar 19, 2011
  2. Jakub NarebskiMar 19, 2011
  3. Jeff KingMar 21, 2011
  4. Michał ŁowickiMar 22, 2011
  5. Jeff KingMar 23, 2011
  6. Junio C HamanoMar 23, 2011
  7. Jeff KingMar 23, 2011
  8. Junio C HamanoMar 23, 2011
  9. Jeff KingMar 23, 2011
  10. Michał ŁowickiApr 13, 2011
  11. Jonathan NiederApr 15, 2011
  12. Michał ŁowickiApr 15, 2011

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.