Commit d8993111 authored by Evan Hunt's avatar Evan Hunt
Browse files

[master] avoid duplication when looking up the shorthash

parent 41dabe08
......@@ -123,7 +123,7 @@ test ! -d $topdir || {
mkdir $topdir || exit 1
git archive --format=tar $remote $tag | ( cd $topdir; tar xf -)
shorthash=`git ls-remote $repo $tag | cut -c1-8`
shorthash=`git ls-remote $repo refs/heads/$tag | cut -c1-8`
cd $topdir || exit 1
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment