$ git clone -n https://src.fedoraproject.org/rpms/libcli.git /var/lib/mock/f40-build-784528-133440/root/chroot_tmpdir/scmroot/libcli Cloning into '/var/lib/mock/f40-build-784528-133440/root/chroot_tmpdir/scmroot/libcli'... $ git fetch origin dc00bc9ad1b8c7b1f6187ea8a1a07115fd1567d4:KOJI_FETCH_HEAD From https://src.fedoraproject.org/rpms/libcli * [new ref] dc00bc9ad1b8c7b1f6187ea8a1a07115fd1567d4 -> KOJI_FETCH_HEAD $ git reset --hard KOJI_FETCH_HEAD HEAD is now at dc00bc9 Swap calloc params