Redirect rev-parse to devnull

This commit is contained in:
Václav Valíček (YCNet) 2018-03-24 14:15:50 +01:00
parent a39d4604b0
commit 4f80542ad3
No known key found for this signature in database
GPG Key ID: 7CF44871CEA75938

View File

@ -131,7 +131,7 @@ done
find $DET_TAGS -type f | sort | while read tagname
do
tag=$(basename $tagname)
if ! git --git-dir="$repodir" rev-parse "tags/$tag"
if ! git --git-dir="$repodir" rev-parse "tags/$tag" > /dev/null 2>&1
then
echo "Removing tag: $tag (was [$(cat $tagname)])"
rm $tagname