From: Junio C Hamano Date: Tue, 10 Mar 2020 03:19:17 +0000 (-0700) Subject: Meta/Doit: run Dothem twice ;-) X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=af6017f5d7aef01747a42eee127da38e33e80182;p=thirdparty%2Fgit.git Meta/Doit: run Dothem twice ;-) --- diff --git a/Doit b/Doit new file mode 100755 index 0000000000..20d4fc77e0 --- /dev/null +++ b/Doit @@ -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