restore ordinary diff functionality
test: --function-name tests