From: Evan Hunt Date: Fri, 31 Jul 2015 21:10:43 +0000 (-0700) Subject: [master] use 7 character short hash for srcid X-Git-Tag: v9.11.0a1~623 X-Git-Url: http://git.ipfire.org/gitweb/?a=commitdiff_plain;h=6c7e1075feffb90ba69da1d3f9c791f4fbeb6f52;p=thirdparty%2Fbind9.git [master] use 7 character short hash for srcid --- diff --git a/util/kit.sh b/util/kit.sh index c7794f9030b..672c2a5424b 100644 --- a/util/kit.sh +++ b/util/kit.sh @@ -92,9 +92,9 @@ test -f $verdir/version || { rm $verdir/version rmdir $verdir -shorthash=`git ls-remote $repo refs/heads/$tag | cut -c1-8` +shorthash=`git ls-remote $repo refs/heads/$tag | cut -c1-7` if [ -z "$shorthash" ]; then - shorthash=`git ls-remote $repo refs/tags/$tag | cut -c1-8` + shorthash=`git ls-remote $repo refs/tags/$tag | cut -c1-7` fi if [ -z "$shorthash" ]; then echo "Unable to determine hash for $tag, aborting."