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

Re: Tracking files across tree reorganizations

From
HAH. Peter Anvin <hpa@zytor.com>
Date
Dec 14, 2005, 23:44 UTC
Message-ID
<43A0AE6B.3040309@zytor.com>
In-Reply-To
<Pine.LNX.4.64.0512141538440.3292@g5.osdl.org>
Linus Torvalds wrote:
Show 11 quoted lines
> 
> On Wed, 14 Dec 2005, Petr Baudis wrote:
> 
>>Linus is against it.
>>
>>Cogito will do it anyway ;-), when someone sends me a nice patch or when
>>I get to it (probably not very soon). I imagine it like this:
> 
> I warn people that if cogito starts polluting the commit messages too 
> much, I'll stop pulling from such trees.
> 

I agree, putting that into the commit messages sounds like a pretty bad thing. If anything it should go in the commit header, possibly in the form of an object reference (with the object carrying the actual data.)

HOWEVER, I maintain that this is unnecessary (and, as Linus has pointed out several time, losing) -- we already detect renames without relying on commit-time metadata. If it's too expensive to generate the metadata on every merge, it can be cached.

	-hpa
Previous: Linus TorvaldsNext: Junio C Hamano
Message 7 of 13 in “Tracking files across tree reorganizations”
  1. H. Peter AnvinDec 14, 2005
  2. Petr BaudisDec 14, 2005
  3. H. Peter AnvinDec 14, 2005
  4. Petr BaudisDec 14, 2005
  5. H. Peter AnvinDec 14, 2005
  6. Linus TorvaldsDec 14, 2005
  7. H. Peter AnvinDec 14, 2005
  8. Junio C HamanoDec 15, 2005
  9. H. Peter AnvinDec 15, 2005
  10. Petr BaudisDec 15, 2005
  11. Martin LanghoffDec 15, 2005
  12. Martin LanghoffDec 15, 2005
  13. H. Peter AnvinDec 15, 2005

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.