V & Doit: be careful with differences between branch and revision.

todo
Junio C Hamano 2007-04-03 21:41:33 -07:00
parent b9c9efd66c
commit fec598740d
2 changed files with 2 additions and 2 deletions

2
Doit
View File

@ -29,7 +29,7 @@ do
continue
}

if installed=$($HOME/git-$v/bin/git version) &&
if installed=$($HOME/git-$branch/bin/git version) &&
{
version=$(expr "$installed" : '.*\.g\([0-9a-f]*\)$') ||
version=v$(expr "$installed" : 'git version \(.*\)')

2
V
View File

@ -14,5 +14,5 @@ do
else
in="" out="" installed=" $installed"
fi
echo "$in$v$out $(git-describe $v)$installed"
echo "$in$v$out $(git-describe refs/heads/$v)$installed"
done