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

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