--- /dev/null
+#!/bin/bash
+#
+# run git fetch main
+# and then this
+
+set -e
+set -o pipefail
+
+revspec=main/${STTM_TESTED-tested}..main/pretest
+
+echo "testing $revspec ..."
+
+git-rev-list $revspec | nl -ba | tac | \
+while read num rev; do
+ echo >&2 ""
+ echo >&2 "testing $num $rev"
+ git checkout $rev
+ ${0%/*}/sometest-to-tested
+done