Redirect rev-parse to devnull
This commit is contained in:
parent
a39d4604b0
commit
4f80542ad3
|
@ -131,7 +131,7 @@ done
|
||||||
find $DET_TAGS -type f | sort | while read tagname
|
find $DET_TAGS -type f | sort | while read tagname
|
||||||
do
|
do
|
||||||
tag=$(basename $tagname)
|
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
|
then
|
||||||
echo "Removing tag: $tag (was [$(cat $tagname)])"
|
echo "Removing tag: $tag (was [$(cat $tagname)])"
|
||||||
rm $tagname
|
rm $tagname
|
||||||
|
|
Loading…
Reference in New Issue
Block a user