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

listing changesets on a branch

From
TÁTajti Ákos <akos.tajti@intland.com>
Date
Jul 26, 2011, 10:27 UTC
Message-ID
<4E2E9676.5000307@intland.com>
Dear List,

I'd like to list the changesets between two commit ids, but only those, that were committed on a specific branch. I tried to use the following command:

git log --branches=*/master rev1..rev2

But the result is not what I expected: i see sommits that were made on an other branch and were not merged to master. Could you please tell me what I am doing wrong?

Thanks in advance, Ákos Tajti

Next: Jakub Narebski
Message 1 of 2 in “listing changesets on a branch”
  1. Tajti ÁkosJul 26, 2011
  2. Jakub NarebskiJul 26, 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.