Matthew Wang 73e8e660b4 Fix issue #31 by catching UnicodeDecodeError as well 11 年之前
..
context Re-enable context diff related tests 11 年之前
crlf for issue #7: merge 4f29fc8 by @yaccz, implement auto test cases w/o shunit2 11 年之前
diff-ru Handle 'Binary files ... differ' 11 年之前
diff-ru-bin Handle 'Binary files ... differ' 11 年之前
git for issue #7: merge 4f29fc8 by @yaccz, implement auto test cases w/o shunit2 11 年之前
git-bin Handle 'Binary files ... differ' 11 年之前
git-log Enhance diff parser on handling hunk links, fix #20 11 年之前
git-perm Fall through unknown format to 'unified', fixed #18 11 年之前
hg-log Test patch from hg log -p 11 年之前
strange for issue #7: merge 4f29fc8 by @yaccz, implement auto test cases w/o shunit2 11 年之前
svn for issue #7: merge 4f29fc8 by @yaccz, implement auto test cases w/o shunit2 11 年之前
svn-log Better patch parser; support svn log --diff 11 年之前
svn-merge Fixed #14 by tolerating dangling headers and short patch < 4 lines 11 年之前
svn-property Handle a diff with only an svn property change 11 年之前
README Handle 'Only in <dir>: ' header in output from diff -ru d1 d2 11 年之前
profile.sh Script and make targets for profiling 11 年之前
regression.sh Travis does not have filterdiff, not ready to add context test case yet (#15) 11 年之前
test_cdiff.py Fix issue #31 by catching UnicodeDecodeError as well 11 年之前

README

# To generate expected output, chdir to a subdir and use following command, then
# review with `less -R`
#
../../cdiff.py -c always < in.diff > out.normal
../../cdiff.py -c always -s < in.diff > out.side-by-side
../../cdiff.py -c always -s < in.diff -w70 > out.w70