git.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* How do I get a squashed diff for review
@ 2011-11-04 19:15 Alexander Usov
  2011-11-05  9:15 ` David Aguilar
  0 siblings, 1 reply; 5+ messages in thread
From: Alexander Usov @ 2011-11-04 19:15 UTC (permalink / raw)
  To: git

Hi,

I'm wondering if there is an easy way to get a squashed diff of the
changes done on the feature branch for review.
In the simple cases (where feature branch is linear) there is an
absolutely fantastic way to get a patch for review:
git diff master...feature

However if the feature branch happened to be long-lived and had
mainline merged into it it's not going to work -- the
resulting diff would contain changes from the merge. The way we are
doing things now is to merge master into it
once more and then diff, however this is somewhat cumbersome. Is there
easier way to do it?

And while we are on the topic -- is there a tool for git similar to "bzr qdiff"?
It's a simple graphical diff viewer with 2 nice features -- it shows
complete diff (of multiple files) in a single window and
has a checkbox to switch between diff-only & full-text modes.
I have seen difftool, but it seems to work on per-file basis, and
something like "vi <(git diff ...)" lacks the easy way to
switch into full-text mode.

--
Best regards,
  Alexander.

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

end of thread, other threads:[~2011-11-06  2:34 UTC | newest]

Thread overview: 5+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2011-11-04 19:15 How do I get a squashed diff for review Alexander Usov
2011-11-05  9:15 ` David Aguilar
2011-11-05 17:56   ` Alexander Usov
2011-11-05 23:53     ` Junio C Hamano
2011-11-06  2:33       ` Alexander Usov

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