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

Re: [PATCH] patch-id: "diff-tree" => "commit"

From
Johannes Schindelin <johannes.schindelin@gmx.de>
Date
Jun 23, 2006, 16:07 UTC
Message-ID
<Pine.LNX.4.63.0606231800240.29667@wbgn013.biozentrum.uni-wuerzburg.de>
In-Reply-To
<Pine.LNX.4.64.0606230849290.6483@g5.osdl.org>
Hi,
On Fri, 23 Jun 2006, Linus Torvalds wrote:
Show 7 quoted lines
> On Fri, 23 Jun 2006, Johannes Schindelin wrote:
> > 
> > Some time ago we changed git-log in a massive way, and one consequence is
> > that the keyword changed. Adjust patch-id for that.
> 
> Ahh. Yes. Except I think you should allow both, for historical reasons (ie 
> not remove the old case).

Hmm. If you are alluding to mailboxes, where there could be mails from older git versions, then this might not be enough. Look at my patch, for example. There is no "diff-tree", and no "commit".

However, the only official user of patch-id is git-cherry (and indirectly, all users of git-cherry). And this user works on data which is generated on the fly, i.e. there will be no "diff-tree" at the beginning.

Of course, there is a Pandora's box: a line in a commit message is much more likely to start with "commit <sha1>" than "diff-tree <sha1>". So my patch probably breaks many cases.

Ciao, Dscho

Previous: Linus Torvalds
Message 3 of 3 in “patch-id: "diff-tree" => "commit"”
  1. patch-id: "diff-tree" => "commit"Johannes Schindelin, Jun 23, 2006
  2. Linus TorvaldsJun 23, 2006
  3. Johannes SchindelinJun 23, 2006

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.