Split diff into algo./print functions.
Split diff into algo./print functions.

mdshuai/rpm-ostree,tmp-user/rpm-ostree,giuseppe/rpm-ostree,giuseppe/rpm-ostree,tmp-user/rpm-ostree,mdshuai/rpm-ostree,tmp-user/rpm-ostree,tmp-user/rpm-ostree,mdshuai/rpm-ostree,giuseppe/rpm-ostree,mdshuai/rpm-ostree,giuseppe/rpm-ostree