built-in add -p: handle diff.algorithm