$ git clone -n https://src.fedoraproject.org/rpms/0ad.git /var/lib/mock/f38-build-727212-100583/root/chroot_tmpdir/scmroot/0ad Cloning into '/var/lib/mock/f38-build-727212-100583/root/chroot_tmpdir/scmroot/0ad'... $ git fetch origin ffb9defa20000df331743a89ea80793709c813c8:KOJI_FETCH_HEAD From https://src.fedoraproject.org/rpms/0ad * [new ref] ffb9defa20000df331743a89ea80793709c813c8 -> KOJI_FETCH_HEAD $ git reset --hard KOJI_FETCH_HEAD HEAD is now at ffb9def Unset RUSTFLAGS to work around mozjs not supporting taking more than one flag