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

Re: Git log follow question

From
Martin Langhoff <martin.langhoff@gmail.com>
Date
May 14, 2010, 15:19 UTC
Message-ID
<AANLkTimfuINt0v_SETz9NsMGVXDL9d150B8En4TKqw3b@mail.gmail.com>
In-Reply-To
<alpine.LFD.2.00.1005140730030.3711@i5.linux-foundation.org>

On Fri, May 14, 2010 at 10:50 AM, Linus Torvalds <torvalds@linux-foundation.org> wrote:

> If we want --follow and --parent to work together, you'd need to move the
> special rename hack to be in the early phases. I'm sure it's possible. It
> might even be reasonably simple. But it's very fundamentally not what we
> do now.
...
> It would
> be nice if "gitk --follow <pathname>" worked properly, but it's just not
> something I care very much about.

Putting the internal machinery aside, it would be enormously useful for the end user.

The Linux kernel is unusual in that there are relatively few renames / reorgs in the mainline -- maintainers pushback and force those things to happen before a patchset is merged. And you (as the lead maintainer) probably know all the renames in your own project.

The use case for this is: "Where the hell does this WTF-worthy function come from, in this WTF-esque old codebase I just inherited?"

cheers,
m
-- 
 martin.langhoff@gmail.com
 martin@laptop.org -- School Server Architect
 - ask interesting questions
 - don't get distracted with shiny stuff  - working code first
 - http://wiki.laptop.org/go/User:Martinlanghoff
Previous: Linus TorvaldsNext: Linus Torvalds
Message 5 of 12 in “Git log follow question”
  1. Albert KrawczykMay 14, 2010
  2. Bo YangMay 14, 2010
  3. Jeff KingMay 14, 2010
  4. Linus TorvaldsMay 14, 2010
  5. Martin LanghoffMay 14, 2010
  6. Linus TorvaldsMay 14, 2010
  7. Jeff KingMay 25, 2010
  8. Linus TorvaldsMay 25, 2010
  9. Jeff KingMay 26, 2010
  10. Linus TorvaldsMay 26, 2010
  11. Albert KrawczykMay 14, 2010
  12. Albert KrawczykMay 14, 2010

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.