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

Re: Checking git-cherry-pick Use Case

From
Junio C Hamano <junkio@cox.net>
Date
Jan 11, 2006, 19:29 UTC
Message-ID
<7v3bjuv9zd.fsf@assigned-by-dhcp.cox.net>
In-Reply-To
<1136997967.29751.198.camel@cashmere.sps.mot.com>
Jon Loeliger <jdl@freescale.com> writes:
Show 14 quoted lines
> My first question is that I expected to see 
> something more like this (hand edited):
>
> 	! [dev] Stuff jdl made up and committed
>          * [jdl] Early stuff jdl made up
>           ! [origin] Original stuff
>         ---
>         ++  [dev] Stuff jdl made up and committed
>         +   [dev^] Merge branch 'jdl'
>         ++  [jdl^] Early stuff jdl made up
>         +++ [origin] Original stuff
>
> That is, the _same_ commit is now in both the "dev"
> and "jdl" branches, so why does it have two lines here?

Because they are not the same commit; they are two separate commits, that happen to have the same commit log message and authorship information, and perhaps even result to show the same "diff" if asked by 1-parameter git-diff-tree, but they are different commit objects nevertheless.

Funnily enough, I think I sent out almost exactly the same message as yours the last couple of days regarding workflows, after I hacked a bit on gitweb ;-).

Previous: Jon Loeliger
Message 2 of 2 in “Checking git-cherry-pick Use Case”
  1. Jon LoeligerJan 11, 2006
  2. Junio C HamanoJan 11, 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.