With this patch, we add support for setting the sparse patterns, and we respect it when updating the working copy.