News for hackers. Stuff that matters.
Re:Icdiff: side-by-side command line diffs by yrmt on Sunday December 07, 2014 @11:48AM (#8712691)
Re:Icdiff: side-by-side command line diffs by cbr on Sunday December 07, 2014 @12:06PM (#8712763)
colordiff looks like: http://www.colordiff.org/screen2.jpg

It's just coloring the standard diff output so lines starting with > or + are yellow and ones starting with < or - are green. This is also what "git diff" does by default: http://www.jefftk.com/git-diff-color-2x.png

icdiff is doing a side-by-side diff, and it's only coloring the changed sections of lines: http://www.jefftk.com/icdiff-side-by-side-2x.png

Re:Icdiff: side-by-side command line diffs by mitchty on Sunday December 07, 2014 @02:59PM (#8713356)
Not all that different than what you can achieve with git diff --color-words

Example: http://i.imgur.com/smubTnH.png

Re:Icdiff: side-by-side command line diffs by cbr on Sunday December 07, 2014 @04:18PM (#8713609)
git diff --color-words is good. Here's what that looks like on the same file: http://www.jefftk.com/diff-color-words-2x.png
Re:Icdiff: side-by-side command line diffs by selectnull on Sunday December 07, 2014 @11:51AM (#8712702)
It doesn't seem to be side by side, while icdiff is. Colors by themselved are not an issue as git supports it natively.

Have I miseed something?

edit: fix typo

Re:Icdiff: side-by-side command line diffs by dima55 on Sunday December 07, 2014 @12:00PM (#8712738)
diff -y is side-by-side. As far as I know colordiff does per-line coloring, while icdiff seems to have finer granularity. This dude really should have patched colordiff, though. Or just used emacs.
Re:Icdiff: side-by-side command line diffs by cbr on Sunday December 07, 2014 @12:08PM (#8712777)
colordiff is just a perl script to colorize diff's output. Patching it to add support for the kind of coloring I want to do here would be a lot of work.

As for using emacs, there are many cases when I want a stand-alone diff tool.

Re:Icdiff: side-by-side command line diffs by selectnull on Sunday December 07, 2014 @12:12PM (#8712789)
Wow, all these years and I haven't known about diff -y. Thanks.
Re:Icdiff: side-by-side command line diffs by hrjet on Sunday December 07, 2014 @12:37PM (#8712877)
One more called cdiff: https://github.com/ymattw/cdiff

(works with repositories; not a general diff replacement.)