We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent b9c9efd commit fec5987Copy full SHA for fec5987
Doit
@@ -29,7 +29,7 @@ do
29
continue
30
}
31
32
- if installed=$($HOME/git-$v/bin/git version) &&
+ if installed=$($HOME/git-$branch/bin/git version) &&
33
{
34
version=$(expr "$installed" : '.*\.g\([0-9a-f]*\)$') ||
35
version=v$(expr "$installed" : 'git version \(.*\)')
V
@@ -14,5 +14,5 @@ do
14
else
15
in="[41;37m" out="[m" installed=" $installed"
16
fi
17
- echo "$in$v$out $(git-describe $v)$installed"
+ echo "$in$v$out $(git-describe refs/heads/$v)$installed"
18
done
0 commit comments