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

Re: GSoC - Better "git log --follow" support

From
Jakub Narebski <jnareb@gmail.com>
Date
Mar 19, 2011, 21:57 UTC
Message-ID
<m339mi6ago.fsf@localhost.localdomain>
In-Reply-To
<AANLkTi=n7e70UqYU+6wpG4cu95fsg39tVM6=7fpfdZFz@mail.gmail.com>
Michał Łowicki <mlowicki@gmail.com> writes:
Show 6 quoted lines
> I'm looking at idea about better git log --follow support from
> https://git.wiki.kernel.org/index.php/SoC2011Ideas .There is something
> like this - "[.. ] it does not interact well with git's usual history
> simplification [...]". Can someone elaborate this? I've found History
> Simplification in git rev-list man but don't know yet about issues
> with --follow.
Well, '--follow' option to git-log is a bit of bolted-on hack.  

It does work only for single file (it doesn't work e.g. for directory), and it not always work correctly. For example

  $ git log --follow gitweb/gitweb.perl

correctly follows gitweb history across gitweb.cgi => gitweb.perl rename in 5d043a3 (gitweb: fill in gitweb configuration by Makefile, 2006-08-01), but it doesn't follow through subtree merging of gitweb repository in 0a8f4f0 (Merge git://git.kernel.org/pub/scm/git/gitweb, 2006-06-10).

-- 
Jakub Narebski
Poland
ShadeHawk on #git
Previous: Michał ŁowickiNext: Jeff King
Message 2 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.