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

Re: how to list commits on branch since last merge

From
Jeff King <peff@peff.net>
Date
Mar 8, 2011, 21:03 UTC
Message-ID
<20110308210312.GA4594@sigill.intra.peff.net>
In-Reply-To
<m2r5ahqvjs.fsf@igel.home>
On Tue, Mar 08, 2011 at 08:08:55PM +0100, Andreas Schwab wrote:
Show 6 quoted lines
> > Isn't the merge the first commit in bar that is not in foo? IOW:
> >
> >   git rev-list foo..bar | tail -n 1
> 
> That would show the commit marked b1 above, wouldn't it?  ^foo cuts only
> x and its parents, but not the other parent of m.
Yes, just me being dumb. See the other subthread.
-Peff
Previous: Andreas Schwab
Message 13 of 13 in “how to list commits on branch since last merge”
  1. Jay SoffianMar 8, 2011
  2. Michael J GruberMar 8, 2011
  3. Jay SoffianMar 8, 2011
  4. Michael J GruberMar 8, 2011
  5. Jay SoffianMar 8, 2011
  6. Michael J GruberMar 8, 2011
  7. Jay SoffianMar 8, 2011
  8. Michael J GruberMar 8, 2011
  9. Jeff KingMar 8, 2011
  10. Jay SoffianMar 8, 2011
  11. Jeff KingMar 8, 2011
  12. Andreas SchwabMar 8, 2011
  13. Jeff KingMar 8, 2011

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.