Meta/Doit: run Dothem twice ;-)

This commit is contained in:
Junio C Hamano
2020-03-09 20:19:17 -07:00
parent 4bfe594872
commit af6017f5d7

20
Doit Executable file
View File

@@ -0,0 +1,20 @@
#!/bin/sh
test -n "$branches" || branches='next master maint jch pu'
changed=
for b in $branches
do
installed=$(rungit "$b" version) &&
installed=${installed##* } &&
case "$installed" in
*-g*) installed=$(git describe "$installed") ;;
*) installed=$(git describe "v$installed") ;;
esac &&
latest=$(git describe "$b") &&
test "z$latest" = "z$installed" ||
changed="$changed $b"
done
Meta/Dothem -j32 &&
Meta/Dothem -j32 --dash --branches="$changed" --scratch --force CC=clang