git.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* Getting a list of commits between 2 points without upstream changes
@ 2011-07-17 23:49 Chris Packham
  2011-07-18  0:17 ` Jeff King
  0 siblings, 1 reply; 4+ messages in thread
From: Chris Packham @ 2011-07-17 23:49 UTC (permalink / raw)
  To: GIT

Hi List,

I'm trying to send round an incremental changelog for my project which
contains just my changes without changes that have been made upstream.
The history look something like this.

---o--o--o--o--o--o--o--o-- upstream
    \          \        \
     \-m--A--m--B--m--C--D-- topic

What I want is a changelog with just B, C and D in it (i.e. no merge
commits and no commits already in upstream). I know if I wanted A,B,C
and D I could just do 'git log --no-merges upstream..topic'. If I do
'git log --no-merges B..topic' I get the merged commits from upstream.
In set-speak what I think want is the union of upstream..topic and
B..topic.

Is there any existing way to achieve this? I'm happy to hack something
up using git rev-list if necessary.

Thanks,
Chris

^ permalink raw reply	[flat|nested] 4+ messages in thread

end of thread, other threads:[~2011-07-18  1:28 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2011-07-17 23:49 Getting a list of commits between 2 points without upstream changes Chris Packham
2011-07-18  0:17 ` Jeff King
2011-07-18  0:33   ` Chris Packham
2011-07-18  1:28     ` Jeff King

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).