$ git clone -n https://src.fedoraproject.org/rpms/make.git /var/lib/mock/f32-build-119004-36366/root/chroot_tmpdir/scmroot/make Cloning into '/var/lib/mock/f32-build-119004-36366/root/chroot_tmpdir/scmroot/make'... $ git reset --hard b119ff1512b661e6d86a874459aa9685cac6ab1e HEAD is now at b119ff1 Use a non-blocking read with pselect to avoid hangs. BZ #1556839