linux下安装使用colordiff
安装
wget http://colordiff.sourceforge.net/colordiff-1.0.9.tar.gz
tar zxvf colordiff-1.0.9.tar.gz
cd colordiff-1.0.9
make install
使用
# 命令行下使用
colordiff file1 file2
diff -u file1 file2 | colordiff
# 更换svn的默认diff
vim ~/.subversion/config
diff-cmd = colordiff