Start preparing for the next cycle.
[git/spearce.git] / V
blobd23bc59f050f419e2f4d417b736081a944a200bb
1 #!/bin/sh
3 for v in maint master next pu
4 do
5 installed=$($HOME/git-$v/bin/git version)
6 version=$(expr "$installed" : '.*\.g\([0-9a-f]*\)$') ||
7 version=v$(expr "$installed" : 'git version \(.*\)')
9 version=$(git rev-parse --verify "$version^0" 2>/dev/null)
10 revision=$(git show-ref -s --verify "refs/heads/$v")
11 if test "z$version" = "z$revision"
12 then
13 in= out= installed=
14 else
15 in="\e[41;37m" out="\e[m" installed=" $installed"
17 echo "$in$v$out $(git-describe refs/heads/$v)$installed"
18 done