git.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* Common ancestor in merge diffs?
@ 2009-01-26 18:41 Daniel Barkalow
  2009-01-26 18:59 ` Johannes Schindelin
                   ` (2 more replies)
  0 siblings, 3 replies; 7+ messages in thread
From: Daniel Barkalow @ 2009-01-26 18:41 UTC (permalink / raw)
  To: git

I was just doing an annoying merge (I'd reorganized code while other 
people made changes to it), and I kept having the problem that it was hard 
to figure out what each side had done. Is there some way to ask git for 
the diffs between the common ancestor (which is unique in my case, so it's 
actually useful) and each of the sides of the merge? Ideally, it would 
give essentially the converse of the --cc diff: first column is -stage 1 
+stage 2; second column is -stage 1 +stage 3.

I think this would generally be more useful than the current diff output 
for the unresolved portions (-stage 3 +working tree, -stage 2 +working 
tree) because you're generally quite familiar with the working tree (since 
you're trying to resolve there), and stage 1 is not obvious.

	-Daniel
*This .sig left intentionally blank*

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

end of thread, other threads:[~2009-01-26 20:56 UTC | newest]

Thread overview: 7+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2009-01-26 18:41 Common ancestor in merge diffs? Daniel Barkalow
2009-01-26 18:59 ` Johannes Schindelin
2009-01-26 19:06   ` Daniel Barkalow
2009-01-26 19:05 ` Linus Torvalds
2009-01-26 19:52   ` Daniel Barkalow
2009-01-26 20:54     ` Linus Torvalds
2009-01-26 19:55 ` Junio C Hamano

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).