mirror of
https://github.com/isc-projects/bind9.git
synced 2026-06-08 18:42:04 -04:00
[master] avoid duplication when looking up the shorthash
This commit is contained in:
parent
41dabe089f
commit
d899311194
1 changed files with 1 additions and 1 deletions
|
|
@ -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
|
||||
|
||||
|
|
|
|||
Loading…
Reference in a new issue