$ git clone -n https://src.fedoraproject.org/rpms/stringtemplate4.git /var/lib/mock/f40-build-1897563-25065/root/chroot_tmpdir/scmroot/stringtemplate4 Cloning into '/var/lib/mock/f40-build-1897563-25065/root/chroot_tmpdir/scmroot/stringtemplate4'... $ git fetch origin 5b16569f03ce81ee2fbdbec650d6c2a5d8cf8b56:KOJI_FETCH_HEAD From https://src.fedoraproject.org/rpms/stringtemplate4 * [new ref] 5b16569f03ce81ee2fbdbec650d6c2a5d8cf8b56 -> KOJI_FETCH_HEAD $ git reset --hard KOJI_FETCH_HEAD HEAD is now at 5b16569 Adapt expected test output to JDK 21 (rhbz#2266689)