chiark / gitweb /
TODO done some things
[dgit-junk.git] / pretest-to-tested
1 #!/bin/bash
2 #
3 # run  git fetch main
4 # and then this
5
6 set -e
7 set -o pipefail
8
9 revspec=main/${STTM_TESTED-tested}..main/pretest
10
11 echo "testing $revspec ..."
12
13 git-rev-list $revspec | nl -ba | tac | \
14 while read num rev; do
15         echo >&2 ""
16         echo >&2 "testing $num $rev"
17         git checkout $rev
18         ${0%/*}/sometest-to-tested
19 done