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

Finding changes in one branch not in two other branch

From
Aneesh Kumar <aneesh.kumar@gmail.com>
Date
Apr 15, 2008, 11:21 UTC
Message-ID
<cc723f590804150421j689ef4b1o57b97c937e23db99@mail.gmail.com>
Hi,
I am not sure whether it is available. What i am looking for is
git diff <commit1> <commit2> <commit3>

And it should show changes only in in tree represented by <commit1> but not in both <commit2> and <commit3>

To show a workflow:

kernel releases 2.6.20 and the project release patchset on top of 2.6.20 kernel release 2.6.21 and project release patchset on top of 2.6.21

The second release involve some bug fixes for the project.

The intention is to find out what changed in project with the release of 2.6.21 patchset . The easiest is look at diff of diff. But if git can do it for me why not ??

-aneesh
Next: Junio C Hamano
Message 1 of 2 in “Finding changes in one branch not in two other branch”
  1. Aneesh KumarApr 15, 2008
  2. Junio C HamanoApr 15, 2008

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.