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

Is anybody actually using git-cherry.sh?

From
Johannes Schindelin <johannes.schindelin@gmx.de>
Date
Jun 23, 2006, 16:22 UTC
Message-ID
<Pine.LNX.4.63.0606231818140.29667@wbgn013.biozentrum.uni-wuerzburg.de>
Hi,
from git-cherry.sh:
-- snip --
for c in $inup
do
        git-diff-tree -p $c
done | git-patch-id |
while read id name
do
        echo $name >>$patch/$id
done
-- snap --

AFAICS this _must_ be broken. git-diff-tree -p <ent> does not emit "diff-tree <sha1>", and neither "commit <sha1>" lines. So this code would yield just one file, treating all diffs as one huge diff. A quick fix would be this change (without the patch I sent out earlier):

+	echo "diff-tree $c"
 	git-diff-tree -p $c
Am I wrong?

Ciao, Dscho

Next: Jeff King
Message 1 of 3 in “Is anybody actually using git-cherry.sh?”
  1. Johannes SchindelinJun 23, 2006
  2. Jeff KingJun 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.