988776 - preserving checksum set on a repo during repo cloning

This enables a repo whos checksum has been set for sha1 to
be cloned and the repo still have its checksum set to sha1
Merge pull request #3410 from jlsherrill/checksum

988776 - preserving checksum set on a repo during repo cloning