Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
copy: avoid unnecessary re-encoding of source lists
When copying a manifest list, if we don't change any of its contents and don't change its type, use the original serialized version instead of one that we re-encoded ourselves. If we're writing to a digest reference, then this will avoid breakage due to differences in whitespace. Signed-off-by: Nalin Dahyabhai <[email protected]>
- Loading branch information