chiark / gitweb /
pretest-to-master etc.: honour STTM_MASTER
authorIan Jackson <ijackson@chiark.greenend.org.uk>
Sat, 16 Jul 2016 15:08:24 +0000 (16:08 +0100)
committerIan Jackson <ijackson@chiark.greenend.org.uk>
Sat, 16 Jul 2016 15:08:24 +0000 (16:08 +0100)
pretest-to-master
sometest-to-master

index 175bccc..335da75 100755 (executable)
@@ -6,7 +6,7 @@
 set -e
 set -o pipefail
 
-git-rev-list main/master..main/pretest | nl -ba | tac | \
+git-rev-list main/${STTM_MASTER-master}..main/pretest | nl -ba | tac | \
 while read num rev; do
        echo >&2 ""
        echo >&2 "testing $num $rev"
index 962fd68..2aacc7e 100755 (executable)
@@ -5,4 +5,4 @@ set -e
 set -o pipefail
 
 nice tests/using-intree tests/run-all
-git push main HEAD:master
+git push main HEAD:${STTM_MASTER-master}