Matthew Wang 75b79f0935 Support reading diff or log for given files/dirs in workspace (usage changed on 11 anni fa
..
crlf for issue #7: merge 4f29fc8 by @yaccz, implement auto test cases w/o shunit2 11 anni fa
dir Handle 'Only in <dir>: ' header in output from diff -ru d1 d2 11 anni fa
git for issue #7: merge 4f29fc8 by @yaccz, implement auto test cases w/o shunit2 11 anni fa
hg-log Test patch from hg log -p 11 anni fa
strange for issue #7: merge 4f29fc8 by @yaccz, implement auto test cases w/o shunit2 11 anni fa
svn for issue #7: merge 4f29fc8 by @yaccz, implement auto test cases w/o shunit2 11 anni fa
svn-log Better patch parser; support svn log --diff 11 anni fa
README Handle 'Only in <dir>: ' header in output from diff -ru d1 d2 11 anni fa
profile.sh Script and make targets for profiling 11 anni fa
regression.sh Support reading diff or log for given files/dirs in workspace (usage changed on reading a patch file or two given files!) 11 anni fa
test_cdiff.py Support reading diff or log for given files/dirs in workspace (usage changed on reading a patch file or two given files!) 11 anni fa

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