]>
git.ipfire.org Git - thirdparty/git.git/blob - Doit
14 test -z "$(git diff --cached --name-status)" ||
{
15 echo >&2 "Repository unclean."
18 Meta
/Make clean
>/dev
/null
2>&1
20 : ${branches='next master maint pu'}
23 for branch
in $branches
25 echo >&3 "** $branch **"
27 revision
=$
(git show-ref
-s --verify "refs/heads/$branch") ||
{
32 if installed
=$
($HOME/git-
$v/bin
/git version
) &&
34 version
=$
(expr "$installed" : '.*\.g\([0-9a-f]*\)$') ||
35 version
=v$
(expr "$installed" : 'git version \(.*\)')
37 version
=$
(git rev-parse
--verify "$version^0" 2>/dev
/null
) &&
38 test "z$version" = "z$revision"
40 echo "* up-to-date version \"$installed\" is already installed from $branch"
41 test -n "$force" ||
continue
45 git checkout
$branch &&
46 Meta
/Make
$M -- $J all
&&
47 Meta
/Make
$M -- $J $nstall &&
48 Meta
/Make
$M -- test &&
49 Meta
/Make clean ||
exit $?
51 done >.
/:all.log
3>&2 2>&1