is there a way to pipe the GIT or Mercurial diff output to a GUI Diff tool?

Posted by Jian Lin on Stack Overflow See other posts from Stack Overflow or by Jian Lin
Published on 2010-06-01T23:42:47Z Indexed on 2010/06/01 23:53 UTC
Read the original article Hit count: 323

Filed under:
|
|
|

the diff result in text might be hard to get used to at first. Is there a way to pipe that output to a visual diff tool, such as something like

$hg diff --visual code.rb

or

$ hg diff code.rb | sometool

so that the result can be viewed visually?

© Stack Overflow or respective owner

Related posts about git

Related posts about mercurial