apply --cached: apply a patch without using working tree.