$ git clone -n https://src.fedoraproject.org/rpms/php-pecl-http.git /var/lib/mock/f42-build-3364894-45045/root/chroot_tmpdir/scmroot/php-pecl-http Cloning into '/var/lib/mock/f42-build-3364894-45045/root/chroot_tmpdir/scmroot/php-pecl-http'... $ git fetch origin a492f0b8ef44983b08990fb7e54cabba8bef312a:KOJI_FETCH_HEAD From https://src.fedoraproject.org/rpms/php-pecl-http * [new ref] a492f0b8ef44983b08990fb7e54cabba8bef312a -> KOJI_FETCH_HEAD $ git reset --hard KOJI_FETCH_HEAD HEAD is now at a492f0b fix incompatible pointer type FTBFS #2341063